From: z411 Date: Fri, 2 Apr 2021 22:04:49 +0000 (-0300) Subject: Fixed round times after timeouts X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=41541b3402cb580d69aa065ce22d3fbaf4f02b45;p=xonotic%2Fxonotic-data.pk3dir.git Fixed round times after timeouts --- diff --git a/qcsrc/server/command/common.qc b/qcsrc/server/command/common.qc index 7c30baa02..d6bccf9a8 100644 --- a/qcsrc/server/command/common.qc +++ b/qcsrc/server/command/common.qc @@ -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