]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove dummy gameticker cvars (#23596)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sat, 6 Jan 2024 05:21:32 +0000 (16:21 +1100)
committerGitHub <noreply@github.com>
Sat, 6 Jan 2024 05:21:32 +0000 (16:21 +1100)
At some point they got moved to stationsystem it seems

Content.Server/GameTicking/GameTicker.CVars.cs

index beae71c50b532d54eb77192d7c95bcfea2de0f74..c77d56ad14c1aed4a2ad6e928d766d4d7f5fc4b5 100644 (file)
@@ -18,15 +18,6 @@ namespace Content.Server.GameTicking
         [ViewVariables]
         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]
         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.GameDisallowLateJoins,
                 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 =>
             {
                 // TODO why tf is the server name on admin logs