X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode_freezetag.qc;h=d2c741f0b46ee0e1757e19c6eab076b4818c5f43;hb=25bec571007cb22ae00c9c45dcfd4f6cbdc01428;hp=f74c9951fd4d49027e518057685823896b6a7def;hpb=74f87fc1a53f84b248b57660c105da0d84e2ca41;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mutators/gamemode_freezetag.qc b/qcsrc/server/mutators/gamemode_freezetag.qc index f74c9951f..d2c741f0b 100644 --- a/qcsrc/server/mutators/gamemode_freezetag.qc +++ b/qcsrc/server/mutators/gamemode_freezetag.qc @@ -144,7 +144,7 @@ MUTATOR_HOOKFUNCTION(freezetag_RemovePlayer) --totalalive; } - if(totalspawned > 2) // only check for winners if we had more than two players (one of them left, don't let the other player win just because of that) + if(total_players > 2) // only check for winners if we had more than two players (one of them left, don't let the other player win just because of that) freezetag_CheckWinner(); freezetag_Unfreeze(world); @@ -196,7 +196,7 @@ MUTATOR_HOOKFUNCTION(freezetag_PlayerSpawn) { freezetag_Unfreeze(world); // start by making sure that all ice blocks are removed - if(totalspawned == 1 && time > game_starttime) // only one player active on server, start a new match immediately + if(total_players == 1 && time > game_starttime) // only one player active on server, start a new match immediately if(!next_round && warmup && (time < warmup - autocvar_g_freezetag_warmup || time > warmup)) // not awaiting next round { next_round = time;