]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Properly reset round timer after every round
authorz411 <z411@omaera.org>
Wed, 27 Mar 2024 23:07:18 +0000 (20:07 -0300)
committerz411 <z411@omaera.org>
Wed, 27 Mar 2024 23:07:37 +0000 (20:07 -0300)
qcsrc/server/round_handler.qc

index 176efb25d0f1f12c0d95441e9c8063c0d45186aa..becfbbc55c30067e5f28e885351620a435b94d76 100644 (file)
@@ -53,6 +53,7 @@ void round_handler_Think(entity this)
                                this.nextthink = time;
                                FOREACH_CLIENT(IS_PLAYER(it), { roundaccuracy_clear(it); });
                                rounds_played++;
+                               round_delaytime = 0;
                                if (this.roundStart) this.roundStart();
                                return;
                        }