From 31b1ef47f7449fc78c33346fc605f44af8b08c12 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Fri, 24 Feb 2023 13:58:45 -0800 Subject: [PATCH] Remove self function parameter --- scripts/zm/replaced/_zm.gsc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/zm/replaced/_zm.gsc b/scripts/zm/replaced/_zm.gsc index f90cc7a5..50ec287f 100644 --- a/scripts/zm/replaced/_zm.gsc +++ b/scripts/zm/replaced/_zm.gsc @@ -807,8 +807,8 @@ player_damage_override( einflictor, eattacker, idamage, idflags, smeansofdeath, } return finaldamage; } - solo_death = is_solo_death( self, players ); - non_solo_death = is_non_solo_death( self, players, count ); + solo_death = self is_solo_death( players ); + non_solo_death = self is_non_solo_death( players, count ); if ( ( solo_death || non_solo_death ) && !is_true( level.no_end_game_check ) ) { level notify( "stop_suicide_trigger" ); @@ -866,7 +866,7 @@ player_damage_override( einflictor, eattacker, idamage, idflags, smeansofdeath, } } -is_solo_death( self, players ) +is_solo_death( players ) { if ( players.size == 1 && flag( "solo_game" ) ) { @@ -896,7 +896,7 @@ is_solo_death( self, players ) return 0; } -is_non_solo_death( self, players, count ) +is_non_solo_death( players, count ) { if ( count > 1 || players.size == 1 && !flag( "solo_game" ) ) {