You can now cancel the timer (recall)

This commit is contained in:
zumorica
2020-04-09 01:43:28 +02:00
parent 64eafde0c3
commit 83e9688133
5 changed files with 36 additions and 5 deletions

View File

@@ -41,6 +41,11 @@ namespace Content.Server.GameObjects.EntitySystems
public void CancelRoundEndCountdown()
{
if (!IsRoundEndCountdownStarted)
return;
IsRoundEndCountdownStarted = false;
_roundEndCancellationTokenSource.Cancel();
_roundEndCancellationTokenSource = new CancellationTokenSource();