]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Restore this code as game_starttime can change anytime
authorterencehill <piuntn@gmail.com>
Sat, 9 Mar 2013 23:56:04 +0000 (00:56 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 9 Mar 2013 23:56:04 +0000 (00:56 +0100)
qcsrc/server/round_handler.qc

index 65de5b44fb94c7a3fd67fb6e879bbcdacf53a8d3..8715a4deaa56cee9abe8d74bd4a4f4dfa8817125 100644 (file)
@@ -2,6 +2,12 @@ void round_handler_Think()
 {
        float f;
 
+       if(time < game_starttime)
+       {
+               round_handler_Reset(game_starttime);
+               return;
+       }
+
        if(gameover)
        {
                round_handler_Reset(0);