Play an explosion sound when a flame jet destroys something

This commit is contained in:
Eevee (Evelyn Woods) 2021-01-10 14:45:00 -07:00
parent 9efe3d00ef
commit a2ec070a32

View File

@ -1448,7 +1448,7 @@ const TILE_TYPES = {
level.fail('burned', actor);
}
else {
// TODO should this play a sound?
level.sfx.play_once('bomb', me.cell);
level.transmute_tile(actor, 'explosion');
}
}
@ -1636,7 +1636,6 @@ const TILE_TYPES = {
},
},
button_gray: {
// TODO only partially implemented
layer: LAYERS.terrain,
on_arrive(me, level, other) {
level.sfx.play_once('button-press', me.cell);