From 4d44441983f201029676bdb31580a6762f0af2a4 Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Wed, 9 Sep 2020 20:02:15 -0600 Subject: [PATCH] After a clone, mark the new clone as stuck too --- js/tiletypes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/tiletypes.js b/js/tiletypes.js index 0cb5ed4..77bc599 100644 --- a/js/tiletypes.js +++ b/js/tiletypes.js @@ -480,7 +480,9 @@ const TILE_TYPES = { if (level.attempt_step(tile, direction)) { level.actors.push(tile); // FIXME add this underneath, just above the cloner - level.add_tile(new tile.constructor(type, direction), cell); + let new_tile = new tile.constructor(type, direction); + level.add_tile(new_tile, cell); + level.set_actor_stuck(new_tile, true); } else { level.set_actor_stuck(tile, true);