dropping 2 ankhs in a row shouldn't crash (fixes #79)

This commit is contained in:
Timothy Stiles committed 2021-11-18 18:27:28 +11:00
1 parent 590ecb36ae
commit 94a7ec5a2c
1 file changed
+1 -1
+1 -1
View File
@@ -2952,7 +2952,7 @@ const TILE_TYPES = {
{
if (level.ankh_tile) {
level.transmute_tile(level.ankh_tile, 'floor');
level.spawn_animation(level.ankh_tile, 'puff');
level.spawn_animation(level.ankh_tile.cell, 'puff');
}
let old_tile = level.ankh_tile;
level.ankh_tile = terrain;