From 76c34007a24ddd41a11548bd2a9f72bf09af0e97 Mon Sep 17 00:00:00 2001 From: Timothy Stiles Date: Sun, 7 Feb 2021 11:25:19 +1100 Subject: [PATCH] global cyclers don't attempt to turn terrain into global cyclers --- js/tiletypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tiletypes.js b/js/tiletypes.js index aa96f37..511c82e 100644 --- a/js/tiletypes.js +++ b/js/tiletypes.js @@ -1670,7 +1670,7 @@ const TILE_TYPES = { level.cell( me.cell.x - 1, me.cell.y + 0)].filter(x => x != null && x.get_item_mod()?.type.name != 'no_sign'); - let terrains = cells.map(x => x.get_terrain().type.name); + let terrains = cells.map(x => x.get_terrain().type.name).filter(x => x != 'global_cycler'); let items = cells.map(x => x.get_item()?.type.name ?? null).filter(x => x != null); //globally cycle terrain