From 383170236b7a38fe37599a7f3fb3ec11b7e34806 Mon Sep 17 00:00:00 2001 From: PhlexPlexico Date: Thu, 7 Jul 2022 15:56:32 -0600 Subject: [PATCH] Adjust event calls to include admin pause when paused by client 0. --- scripting/get5/pausing.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripting/get5/pausing.sp b/scripting/get5/pausing.sp index e7abbbca0..7ee7424be 100644 --- a/scripting/get5/pausing.sp +++ b/scripting/get5/pausing.sp @@ -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); @@ -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);