]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed round times after timeouts
authorz411 <z411@omaera.org>
Fri, 2 Apr 2021 22:04:49 +0000 (19:04 -0300)
committerz411 <z411@omaera.org>
Fri, 2 Apr 2021 22:04:49 +0000 (19:04 -0300)
qcsrc/server/command/common.qc

index 7c30baa02687681805b9f167c9ee2bac29c84ac2..d6bccf9a88fa9d10bf85a83872c0ee7ee50f6e02 100644 (file)
@@ -236,9 +236,10 @@ void timeout_handler_think(entity this)
                                game_timeout = false;
                                timeout_total_time += total_time;
                                game_starttime += total_time;
+                               round_starttime += total_time;
                                if(round_handler && round_handler_GetEndTime() > 0)
                                        round_handler.round_endtime += total_time;
-                                       
+
                                LOG_INFOF("Timeout lasted %d secs", total_time);
 
                                // unlock the view for players so they can move around again