Skip to content

Commit

Permalink
adjust prop assigment order
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdnk committed Jul 22, 2022
1 parent ba284d0 commit 69246b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripting/get5/pausing.sp
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ stock void PauseGame(Get5Team team, Get5PauseType type, int pausesLeft = 1, floa

Get5Side side = view_as<Get5Side>(Get5TeamToCSTeam(team));
if (side == Get5Side_T) {
GameRules_SetProp("m_bTerroristTimeOutActive", true);
GameRules_SetPropFloat("m_flTerroristTimeOutRemaining", fixedPauseTime);
GameRules_SetProp("m_nTerroristTimeOuts", pausesLeft);
GameRules_SetProp("m_bTerroristTimeOutActive", true);
} else if (side == Get5Side_CT) {
GameRules_SetProp("m_bCTTimeOutActive", true);
GameRules_SetPropFloat("m_flCTTimeOutRemaining", fixedPauseTime);
GameRules_SetProp("m_nCTTimeOuts", pausesLeft);
GameRules_SetProp("m_bCTTimeOutActive", true);
}
}

Expand Down

0 comments on commit 69246b4

Please sign in to comment.