void round_handler_Think(entity this)
{
- if (time < game_starttime)
+ if (intermission_running)
{
- round_handler_Reset(game_starttime);
+ round_handler_Reset(0);
+ round_handler_Remove();
return;
}
- if (gameover)
- gameover = false;
-
- if (intermission_running)
+ if (time < game_starttime)
{
- round_handler_Reset(0);
- round_handler_Remove();
+ round_handler_Reset(game_starttime);
return;
}
+ game_stopped = false;
+
if (this.wait)
{
this.wait = false;
// schedule a new round
this.wait = true;
this.nextthink = time + this.delay;
- gameover = true;
}
else
{