if (this.terrain.get(i, 49) !== TERRAIN_MASK_WALL && !safety.directions.S) {
                exits.push(encodePosition(new RoomPosition(i, 49, this.roomName)));
            }