From 1727df4e38c7cc875553b0bfbc2f554ad593a88e Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Thu, 24 Dec 2020 07:08:12 -0700 Subject: [PATCH] Allow ghosts to pass through chip sockets at any time --- js/tiletypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tiletypes.js b/js/tiletypes.js index 8b2333c..5631017 100644 --- a/js/tiletypes.js +++ b/js/tiletypes.js @@ -2554,7 +2554,7 @@ const TILE_TYPES = { draw_layer: DRAW_LAYERS.terrain, blocks_collision: COLLISION.block_cc1 | (COLLISION.monster_solid & ~COLLISION.rover), blocks(me, level, other) { - return (level.chips_remaining > 0); + return ! (other.type.name === 'ghost' || level.chips_remaining <= 0); }, on_arrive(me, level, other) { if (level.chips_remaining === 0) {