]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_world.qc
I'm a goddamn genius, IT WORKS!
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_world.qc
index e8b34509838cb2e56d05b685165ddb792cade3b9..52cf9643014781d260f4320cbd90851f1c758a2d 100644 (file)
@@ -1709,7 +1709,7 @@ float WinningCondition_Onslaught()
 
        WinningConditionHelper(); // set worldstatus
 
 
        WinningConditionHelper(); // set worldstatus
 
-       if(inWarmupStage)
+       if(warmup_stage)
                return WINNING_NO;
 
        // first check if the game has ended
                return WINNING_NO;
 
        // first check if the game has ended
@@ -2102,7 +2102,7 @@ void CheckRules_World()
        fraglimit = autocvar_fraglimit;
        leadlimit = autocvar_leadlimit;
 
        fraglimit = autocvar_fraglimit;
        leadlimit = autocvar_leadlimit;
 
-       if(inWarmupStage || time <= game_starttime) // NOTE: this is <= to prevent problems in the very tic where the game starts
+       if(warmup_stage || time <= game_starttime) // NOTE: this is <= to prevent problems in the very tic where the game starts
        {
                if(timelimit > 0)
                        timelimit = 0; // timelimit is not made for warmup
        {
                if(timelimit > 0)
                        timelimit = 0; // timelimit is not made for warmup