global cyclers don't attempt to turn terrain into global cyclers

This commit is contained in:
Timothy Stiles 2021-02-07 11:25:19 +11:00
parent 7c306e2234
commit 76c34007a2

View File

@ -1670,7 +1670,7 @@ const TILE_TYPES = {
level.cell( level.cell(
me.cell.x - 1, me.cell.x - 1,
me.cell.y + 0)].filter(x => x != null && x.get_item_mod()?.type.name != 'no_sign'); 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); let items = cells.map(x => x.get_item()?.type.name ?? null).filter(x => x != null);
//globally cycle terrain //globally cycle terrain