Fix fire to not kill ghosts, again

This commit is contained in:
Eevee (Evelyn Woods) 2020-12-24 07:57:18 -07:00
parent 1727df4e38
commit afe68e1b20

View File

@ -610,6 +610,9 @@ const TILE_TYPES = {
level.transmute_tile(other, 'explosion');
level.transmute_tile(me, 'water');
}
else if (other.type.name === 'ghost') {
return;
}
else if (other.type.is_real_player) {
level.fail('burned');
}