Reworked spawnTile()