Fix ice blocks to play an animation when destroyed by fire

This commit is contained in:
Eevee (Evelyn Woods) 2020-12-19 19:50:20 -07:00
parent 53838cbdd5
commit 99af6025ee

View File

@ -600,7 +600,7 @@ const TILE_TYPES = {
blocks_collision: COLLISION.monster_solid & ~COLLISION.fireball,
on_arrive(me, level, other) {
if (other.type.name === 'ice_block') {
level.remove_tile(other);
level.transmute_tile(other, 'explosion');
level.transmute_tile(me, 'water');
}
else if (other.type.is_real_player) {