diff --git a/scripts/mp/_patches.gsc b/scripts/mp/_patches.gsc index 25f08bb..093b522 100644 --- a/scripts/mp/_patches.gsc +++ b/scripts/mp/_patches.gsc @@ -11,14 +11,10 @@ getlastlivingplayer_stub( team ) foreach ( player in level.players ) { if ( isdefined( team ) && player.team != team ) - { continue; - } if ( !maps\mp\_utility::isreallyalive( player ) && !player maps\mp\gametypes\_playerlogic::mayspawn() ) - { continue; - } assertex( !isdefined( live_player ), "getLastLivingPlayer() found more than one live player on team." ); @@ -36,9 +32,7 @@ ononeleftevent_stub( team ) last_player = maps\mp\_utility::getlastlivingplayer( team ); if ( !isdefined( last_player ) ) - { return; - } last_player thread maps\mp\gametypes\common_sd_sr::givelastonteamwarning(); }