Fix floor tile lattice bug (#8653)
This commit is contained in:
parent
c4d0feb8a2
commit
c8d1f5f52d
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue