1
0
Fork 0
This commit is contained in:
Saibotk 2018-04-24 06:12:36 +02:00
parent 3f55812533
commit 5dcc925067

View file

@ -136,7 +136,7 @@ public class DungeonGenerator {
allDoors.UnionWith(r.AllDoors());
foreach (Vector2Int v in r.doorsDown) {
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) {
r.tiles[v].type = Room.TileType.DOOR;