diff --git a/MrBigsock/Assets/Code/Map/TilemapGenerator.cs b/MrBigsock/Assets/Code/Map/TilemapGenerator.cs
index 52d5756a6b41a858c9787e3f3ce6f081d93642bc..a5dd3007e8f0d8bda403ea8f0ce5cf6aeba3370b 100644
--- a/MrBigsock/Assets/Code/Map/TilemapGenerator.cs
+++ b/MrBigsock/Assets/Code/Map/TilemapGenerator.cs
@@ -119,6 +119,7 @@ namespace Bigsock
                 }
                 else WallTop[roomNr].SetTile(new Vector3Int(x, map.GetUpperBound(1), z_value), tileSetSO.wallTopTile[1]);    //Middle part of top wall
 
+                int fast = 0;
                 //Check for where the door will be located : when there is no door
                 if (x == doorLocation && !doorInRoom && !LastRoom)
                 {
@@ -185,9 +186,16 @@ namespace Bigsock
                             WallBottom[roomNr].SetTile(new Vector3Int(x + x1, map.GetLowerBound(0) - 1, z_value), tileSetSO.wallBottomTile[1]);
                         }
                     }
+                    fast++;
                     doorInRoom = true; 
                     x += 3; //Jump x over the door location
                 }
+                else if(fast == 0 && LastRoom)
+                {
+                    DoorLocations.Add(new Vector3Int((int)WallTop[roomNr].transform.position.x + x + 2,
+                                    (int)WallTop[roomNr].transform.position.y, z_value));
+                    fast++;
+                }
             }
             SetMapBoundary(map, roomNr);
         }