]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix subtimer freeze timer
authorz411 <z411@omaera.org>
Wed, 13 Apr 2022 02:14:20 +0000 (22:14 -0400)
committerz411 <z411@omaera.org>
Wed, 13 Apr 2022 02:14:20 +0000 (22:14 -0400)
qcsrc/server/round_handler.qc

index 1e896344bda6667aca3771e84153e76a6cf564f3..8cf4260ee97890301e60dc5f8513e8cb5a976a55 100644 (file)
@@ -32,6 +32,7 @@ void round_handler_Think(entity this)
                this.wait = false;
                this.cnt = this.count + 1;  // init countdown
                round_starttime = time + this.count;
+               round_delaytime = 0;
                reset_map(true, false);
        }
 
@@ -136,7 +137,6 @@ void round_handler_Reset(float next_think)
        {
                if (next_think <= game_starttime) rounds_played = 0;
                round_starttime = next_think + this.count;
-               round_delaytime = 0;
        }
 }