This commit is contained in:
parent
769a580b70
commit
427dfb5449
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user