Skip to content

Commit

Permalink
Adjust event calls to include admin pause when paused by client 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhlexPlexico committed Jul 7, 2022
1 parent 46b4761 commit 3831702
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 @@ -9,7 +9,7 @@ public Action Command_TechPause(int client, int args) {

if (client == 0) {
Pause(PauseType_Admin);
EventLogger_PauseCommand(MatchTeam_TeamNone, PauseType_Tech);
EventLogger_PauseCommand(MatchTeam_TeamNone, PauseType_Admin);
LogDebug("Calling Get5_OnMatchPaused(team=%d, pauseReason=%d)", MatchTeam_TeamNone,
PauseType_Tech);
Call_StartForward(g_OnMatchPaused);
Expand Down Expand Up @@ -73,7 +73,7 @@ public Action Command_Pause(int client, int args) {

if (client == 0) {
Pause(PauseType_Admin);
EventLogger_PauseCommand(MatchTeam_TeamNone, PauseType_Tactical);
EventLogger_PauseCommand(MatchTeam_TeamNone, PauseType_Admin);
LogDebug("Calling Get5_OnMatchPaused(team=%d, pauseReason=%d)", MatchTeam_TeamNone,
PauseType_Tactical);
Call_StartForward(g_OnMatchPaused);
Expand Down

0 comments on commit 3831702

Please sign in to comment.