From dc3050537b972f5b4cbbc6bc47d7d99e7a6023db Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Thu, 19 Aug 2010 21:57:09 -0400 Subject: [PATCH] Fixed timeleft not getting reset on Game_Commencing in CS:S (bug 4557, r=fyren). --- extensions/cstrike/timeleft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/cstrike/timeleft.cpp b/extensions/cstrike/timeleft.cpp index 2637c05c..87c59d49 100644 --- a/extensions/cstrike/timeleft.cpp +++ b/extensions/cstrike/timeleft.cpp @@ -65,7 +65,7 @@ void TimeLeftEvents::FireGameEvent(IGameEvent *event) } else if (strcmp(name, "round_end") == 0) { - if (event->GetInt("reason") == 16) + if (event->GetInt("reason") == 15) { get_new_timeleft_offset = true; }