From 41541b3402cb580d69aa065ce22d3fbaf4f02b45 Mon Sep 17 00:00:00 2001 From: z411 Date: Fri, 2 Apr 2021 19:04:49 -0300 Subject: [PATCH] Fixed round times after timeouts --- qcsrc/server/command/common.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2