Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
alemart committed Dec 31, 2019
1 parent 4d9e29e commit c63705b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/players/surge.ss
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit c63705b

Please sign in to comment.