diff --git a/extensions/cstrike/timeleft.cpp b/extensions/cstrike/timeleft.cpp index 87c59d4949..5a28f491ba 100644 --- a/extensions/cstrike/timeleft.cpp +++ b/extensions/cstrike/timeleft.cpp @@ -65,7 +65,11 @@ void TimeLeftEvents::FireGameEvent(IGameEvent *event) } else if (strcmp(name, "round_end") == 0) { +#if SOURCE_ENGINE == SE_CSGO + if (event->GetInt("reason") == 16) +#else if (event->GetInt("reason") == 15) +#endif { get_new_timeleft_offset = true; }