fix it
This commit is contained in:
parent
3f55812533
commit
5dcc925067
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ public class DungeonGenerator {
|
||||||
allDoors.UnionWith(r.AllDoors());
|
allDoors.UnionWith(r.AllDoors());
|
||||||
foreach (Vector2Int v in r.doorsDown) {
|
foreach (Vector2Int v in r.doorsDown) {
|
||||||
r.tiles[v].type = Room.TileType.DOOR;
|
r.tiles[v].type = Room.TileType.DOOR;
|
||||||
r.tiles[v].position = GenTile.Position.DOWN;
|
r.tiles[v].position = GenTile.Position.BOTTOM;
|
||||||
}
|
}
|
||||||
foreach (Vector2Int v in r.doorsUp) {
|
foreach (Vector2Int v in r.doorsUp) {
|
||||||
r.tiles[v].type = Room.TileType.DOOR;
|
r.tiles[v].type = Room.TileType.DOOR;
|
||||||
|
|
Loading…
Add table
Reference in a new issue