Fixed timeleft not getting reset on Game_Commencing in CS:S (bug 4557, r=fyren).
This commit is contained in:
parent
5acd0dd2d1
commit
dc3050537b
@ -65,7 +65,7 @@ void TimeLeftEvents::FireGameEvent(IGameEvent *event)
|
|||||||
}
|
}
|
||||||
else if (strcmp(name, "round_end") == 0)
|
else if (strcmp(name, "round_end") == 0)
|
||||||
{
|
{
|
||||||
if (event->GetInt("reason") == 16)
|
if (event->GetInt("reason") == 15)
|
||||||
{
|
{
|
||||||
get_new_timeleft_offset = true;
|
get_new_timeleft_offset = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user