no idea how this was even working still lmao
This commit is contained in:
parent
1040646393
commit
f79a8cc259
@ -1736,10 +1736,7 @@ const TILE_TYPES = {
|
|||||||
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
|
||||||
if (terrains[0] != terrains[1]
|
if (new Set(terrains).size > 1)
|
||||||
|| terrains[1] != terrains[2]
|
|
||||||
|| terrains[2] != terrains[3]
|
|
||||||
|| terrains[3] != terrains[0])
|
|
||||||
{
|
{
|
||||||
for (var i = 0; i < level.width; ++i)
|
for (var i = 0; i < level.width; ++i)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user