From c63705b8164d223694aa306e77c1a12880ac5f5a Mon Sep 17 00:00:00 2001 From: alemart Date: Tue, 31 Dec 2019 18:57:30 -0300 Subject: [PATCH] Bugfix --- scripts/players/surge.ss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/players/surge.ss b/scripts/players/surge.ss index deb451d9..7ed552e3 100644 --- a/scripts/players/surge.ss +++ b/scripts/players/surge.ss @@ -327,7 +327,8 @@ object "Surge's Lighting Boom FX" is "private", "entity" if(otherCollider.entity.__name == "Enemy") { if(player.ysp <= 0) { // player going up? enemy = otherCollider.entity; - enemy.kill(player); + if(enemy.enabled) + enemy.kill(player); } } }