From 5dcc9250672c80f3a62605870737c53ca693cf79 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Tue, 24 Apr 2018 06:12:36 +0200 Subject: [PATCH] fix it --- Assets/Scripts/Generation/DungeonGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Generation/DungeonGenerator.cs b/Assets/Scripts/Generation/DungeonGenerator.cs index 2e511b8..a79bad1 100644 --- a/Assets/Scripts/Generation/DungeonGenerator.cs +++ b/Assets/Scripts/Generation/DungeonGenerator.cs @@ -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;