Remove dummy gameticker cvars (#23596)

At some point they got moved to stationsystem it seems
This commit is contained in:
metalgearsloth
2024-01-06 16:21:32 +11:00
committed by GitHub
parent 20a1b4a3d9
commit ff965b971e

View File

@@ -18,15 +18,6 @@ namespace Content.Server.GameTicking
[ViewVariables] [ViewVariables]
public bool DisallowLateJoin { get; private set; } = false; public bool DisallowLateJoin { get; private set; } = false;
[ViewVariables]
public bool StationOffset { get; private set; } = false;
[ViewVariables]
public bool StationRotation { get; private set; } = false;
[ViewVariables]
public float MaxStationOffset { get; private set; } = 0f;
[ViewVariables] [ViewVariables]
public string? ServerName { get; private set; } public string? ServerName { get; private set; }
@@ -57,9 +48,6 @@ namespace Content.Server.GameTicking
_configurationManager.OnValueChanged(CCVars.GameLobbyDuration, value => LobbyDuration = TimeSpan.FromSeconds(value), true); _configurationManager.OnValueChanged(CCVars.GameLobbyDuration, value => LobbyDuration = TimeSpan.FromSeconds(value), true);
_configurationManager.OnValueChanged(CCVars.GameDisallowLateJoins, _configurationManager.OnValueChanged(CCVars.GameDisallowLateJoins,
value => { DisallowLateJoin = value; UpdateLateJoinStatus(); }, true); value => { DisallowLateJoin = value; UpdateLateJoinStatus(); }, true);
_configurationManager.OnValueChanged(CCVars.StationOffset, value => StationOffset = value, true);
_configurationManager.OnValueChanged(CCVars.StationRotation, value => StationRotation = value, true);
_configurationManager.OnValueChanged(CCVars.MaxStationOffset, value => MaxStationOffset = value, true);
_configurationManager.OnValueChanged(CCVars.AdminLogsServerName, value => _configurationManager.OnValueChanged(CCVars.AdminLogsServerName, value =>
{ {
// TODO why tf is the server name on admin logs // TODO why tf is the server name on admin logs