From 427dfb5449f694c67264d858fae8b3c66d957443 Mon Sep 17 00:00:00 2001 From: diamante0018 Date: Thu, 6 Feb 2025 18:53:39 +0100 Subject: [PATCH] chore: update --- scripts/mp/_patches.gsc | 6 ------ 1 file changed, 6 deletions(-) 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(); }