From c8d1f5f52da53a540d285d00ed4f35d5e2b7bddf Mon Sep 17 00:00:00 2001 From: Rane <60792108+Elijahrane@users.noreply.github.com> Date: Sat, 4 Jun 2022 15:00:25 -0400 Subject: [PATCH] Fix floor tile lattice bug (#8653) --- Content.Server/Tiles/FloorTileSystem.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Content.Server/Tiles/FloorTileSystem.cs b/Content.Server/Tiles/FloorTileSystem.cs index effd6d63d7..e831f8d835 100644 --- a/Content.Server/Tiles/FloorTileSystem.cs +++ b/Content.Server/Tiles/FloorTileSystem.cs @@ -56,16 +56,14 @@ namespace Content.Server.Tiles continue; PlaceAt(mapGrid, location, currentTileDefinition.TileId, component.PlaceTileSound); - return; } } - if (HasBaseTurf(currentTileDefinition, "space")) + else if (HasBaseTurf(currentTileDefinition, "space")) { mapGrid = _mapManager.CreateGrid(locationMap.MapId); mapGrid.WorldPosition = locationMap.Position; location = new EntityCoordinates(mapGrid.GridEntityId, Vector2.Zero); PlaceAt(mapGrid, location, _tileDefinitionManager[component.OutputTiles[0]].TileId, component.PlaceTileSound, mapGrid.TileSize / 2f); - return; } } }