Skip to content

Commit

Permalink
Remember to reset on manual map change
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdnk committed Apr 10, 2023
1 parent e2f7169 commit 483ac00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripting/get5.sp
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,7 @@ public void OnMapStart() {
// If the map is changed while a map timer is counting down, kill the timer. This could happen if
// a too long mp_match_restart_delay was set and admins decide to manually intervene.
if (g_PendingMapChangeTimer != INVALID_HANDLE) {
g_ReadyTimeWaitingUsed = 0;
delete g_PendingMapChangeTimer;
LogDebug("Killed g_PendingMapChangeTimer as map was changed.");
}
Expand Down

0 comments on commit 483ac00

Please sign in to comment.