From 7a58ebeb7d6da71c030c8b0eb3cf901d66ee00ad Mon Sep 17 00:00:00 2001 From: Robin Ruud Kristensen <robin1998@hotmail.no> Date: Thu, 27 Oct 2022 22:58:04 +0200 Subject: [PATCH] teleports father away from wall --- MrBigsock/Assets/Code/Map/TilemapGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MrBigsock/Assets/Code/Map/TilemapGenerator.cs b/MrBigsock/Assets/Code/Map/TilemapGenerator.cs index e547e57d..7d8d53e0 100644 --- a/MrBigsock/Assets/Code/Map/TilemapGenerator.cs +++ b/MrBigsock/Assets/Code/Map/TilemapGenerator.cs @@ -253,7 +253,7 @@ namespace Bigsock public static Vector3Int DoorLocaitonTransport(int door) { - return new Vector3Int(DoorLocations[door].x + 1, DoorLocations[door].y + 2, DoorLocations[door].z); + return new Vector3Int(DoorLocations[door].x + 1, DoorLocations[door].y + 3, DoorLocations[door].z); } private void ChangeTopTile(int[,] map, int x, int y, int roomNr) -- GitLab