chore: update
All checks were successful
lint / Lint GSC files (push) Successful in 6s

This commit is contained in:
6arelyFuture 2025-02-06 18:53:39 +01:00
parent 769a580b70
commit 427dfb5449
Signed by: Future
GPG Key ID: F2000F181A4F7C85

View File

@ -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();
}