private void ConnectOrphanedStairs(int floor) { for (int x = 0; x < building.maxDimensions; x++) { for (int y = 0; y < building.maxDimensions; y++) { if (LevelGenGridUtils.IsStairs(x, y, floor, building.grid)) { ConnectOrphanedStaircase(x, y, floor); } } } }