Dungeon Building p8
This commit is contained in:
@@ -436,7 +436,7 @@ public class DungeonGeneratorV2
|
||||
if (x >= 0 && x < MapWidth && ty >= 0 && ty < MapHeight && layout.Tiles[x, ty] == 0)
|
||||
{
|
||||
layout.Tiles[x, ty] = floorId;
|
||||
if (floorId > 1)
|
||||
if (floorId > 0 && sheetId > 0)
|
||||
{
|
||||
layout.TileDetails.Add(new PlacedTile
|
||||
{
|
||||
@@ -465,7 +465,7 @@ public class DungeonGeneratorV2
|
||||
if (tx >= 0 && tx < MapWidth && y >= 0 && y < MapHeight && layout.Tiles[tx, y] == 0)
|
||||
{
|
||||
layout.Tiles[tx, y] = floorId;
|
||||
if (floorId > 1)
|
||||
if (floorId > 0 && sheetId > 0)
|
||||
{
|
||||
layout.TileDetails.Add(new PlacedTile
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user