Flame jets only kill actors that aren't moving

This commit is contained in:
Eevee (Evelyn Woods) 2020-12-16 21:25:01 -07:00
parent 7e262feeb6
commit afec553961

View File

@ -1336,7 +1336,7 @@ const TILE_TYPES = {
level.transmute_tile(me, 'flame_jet_on');
// If there's anything on us already, nuke it
let actor = me.cell.get_actor();
if (actor) {
if (actor && ! actor.movement_cooldown) {
me.type._kill(me, level, actor);
}
},