Rotate DefaultGrid on round start (#4957)
* Rotate DefaultGrid on round start Not ideal long-term but good for bugspotting short-term. * Fix buckle test Because gridtraversal was being triggered the pos was being fucked when moving back * Fix buckle * Buckle offset
This commit is contained in:
@@ -24,6 +24,9 @@ namespace Content.Server.GameTicking
|
||||
[ViewVariables]
|
||||
public bool StationOffset { get; private set; } = false;
|
||||
|
||||
[ViewVariables]
|
||||
public bool StationRotation { get; private set; } = false;
|
||||
|
||||
[ViewVariables]
|
||||
public float MaxStationOffset { get; private set; } = 0f;
|
||||
|
||||
@@ -36,6 +39,7 @@ namespace Content.Server.GameTicking
|
||||
_configurationManager.OnValueChanged(CCVars.GameDisallowLateJoins,
|
||||
value => { DisallowLateJoin = value; UpdateLateJoinStatus(); UpdateJobsAvailable(); }, 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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user