Skip to content

Commit

Permalink
Don't tick timer in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikusch committed Dec 12, 2024
1 parent 92cbcab commit 3bab41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/chaos.sp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public void OnGameFrame()
}

RoundState nRoundState = GameRules_GetRoundState();
if (g_bNoChaos || (nRoundState != RoundState_RoundRunning && nRoundState != RoundState_Stalemate) || GameRules_GetProp("m_bInWaitingForPlayers"))
if (g_bNoChaos || (nRoundState != RoundState_RoundRunning && nRoundState != RoundState_Stalemate) || GameRules_GetProp("m_bInWaitingForPlayers") || GameRules_GetProp("m_bInSetup"))
return;

float flTimerSpeed = GetGameFrameTime();
Expand Down

0 comments on commit 3bab41c

Please sign in to comment.