Add evac shuttle test. (#27152)
* Add evac shuttle test. * Fix typo in comment
This commit is contained in:
@@ -192,6 +192,8 @@ namespace Content.Server.RoundEnd
|
||||
|
||||
LastCountdownStart = _gameTiming.CurTime;
|
||||
ExpectedCountdownEnd = _gameTiming.CurTime + countdownTime;
|
||||
|
||||
// TODO full game saves
|
||||
Timer.Spawn(countdownTime, _shuttle.CallEmergencyShuttle, _countdownTokenSource.Token);
|
||||
|
||||
ActivateCooldown();
|
||||
@@ -337,6 +339,8 @@ namespace Content.Server.RoundEnd
|
||||
{
|
||||
_cooldownTokenSource?.Cancel();
|
||||
_cooldownTokenSource = new();
|
||||
|
||||
// TODO full game saves
|
||||
Timer.Spawn(DefaultCooldownDuration, () =>
|
||||
{
|
||||
_cooldownTokenSource.Cancel();
|
||||
|
||||
Reference in New Issue
Block a user