]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix but where sudden death could remove timelimit accidentally when ReadyRestarting
authorz411 <z411@omaera.org>
Tue, 1 Mar 2022 03:09:38 +0000 (00:09 -0300)
committerz411 <z411@omaera.org>
Tue, 1 Mar 2022 03:09:38 +0000 (00:09 -0300)
qcsrc/server/world.qc

index f7a281998ccddf418bf5799590f51229479e71a5..5e297be46161363ce18c364e1bc4ce0f7d43f8fa 100644 (file)
@@ -1636,7 +1636,7 @@ void CheckRules_World()
                                Send_Notification(NOTIF_ALL, NULL, MSG_CENTER, CENTER_RACE_FINISHLAP);
                        else
                                Send_Notification(NOTIF_ALL, NULL, MSG_CENTER, CENTER_OVERTIME_FRAG);
-                       checkrules_overtimesadded = 1; // Treat sudden death as an overtime
+                       checkrules_overtimesadded = -1; // Treat sudden death as an overtime
                }
        }
        else