Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ipsvn committed Mar 5, 2024
1 parent ac0dfc4 commit cd961fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions RoundStartFreezeTimeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ public void Start()
_playerFreezeManager.Freeze(player, _plugin.Config.RoundStartFreezeTime, true, false, true);
}

if (_countdownTimer != null)
{
_countdownTimer.Kill();
_countdownTimer = null;
}

_countdownTimer = _plugin.AddTimer(0.1f, CountdownTimerTick, TimerFlags.REPEAT);

return HookResult.Continue;
Expand Down

0 comments on commit cd961fa

Please sign in to comment.