dropping 2 ankhs in a row shouldn't crash (fixes #79)
This commit is contained in:
1 parent
590ecb36ae
commit
94a7ec5a2c
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user