]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/round_handler.qc
Removed wrong line
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / round_handler.qc
index 063c12abb0aa8f67dd25c600ab70512251194589..786635af07e4b145383f91ea9d2d325b8670a3d1 100644 (file)
@@ -6,22 +6,21 @@
 
 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;
@@ -59,7 +58,6 @@ void round_handler_Think(entity this)
                        // schedule a new round
                        this.wait = true;
                        this.nextthink = time + this.delay;
-                       gameover = true;
                }
                else
                {