Make latejoining not hardcoded to presets (#2028)
* Make latejoining not hardcoded to presets * Applied feedback * Build error fix * Applied more feedback Co-authored-by: David Tan <>
This commit is contained in:
@@ -411,6 +411,12 @@ namespace Content.Server.GameTicking
|
||||
_netManager.ServerSendToAll(GetStatusSingle(player, status));
|
||||
}
|
||||
|
||||
public void ToggleDisallowLateJoin(bool disallowLateJoin)
|
||||
{
|
||||
DisallowLateJoin = disallowLateJoin;
|
||||
UpdateLateJoinStatus();
|
||||
}
|
||||
|
||||
public T AddGameRule<T>() where T : GameRule, new()
|
||||
{
|
||||
var instance = _dynamicTypeFactory.CreateInstance<T>();
|
||||
|
||||
Reference in New Issue
Block a user