Skip to content

Commit

Permalink
Guh
Browse files Browse the repository at this point in the history
  • Loading branch information
MilenVolf committed Nov 12, 2024
1 parent dd38ce8 commit 127d8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Robust.Client/Placement/Modes/AlignTileEmpty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public override void AlignPlacementMode(ScreenCoordinates mouseScreen)
if (gridIdOpt is { } gridId && gridId.IsValid())
{
var mapGrid = pManager.EntityManager.GetComponent<MapGridComponent>(gridId);
CurrentTile = pManager.EntityManager.System<SharedMapSystem>().GetTileRef(gridId, mapGrid ,MouseCoords);
CurrentTile = pManager.EntityManager.System<SharedMapSystem>().GetTileRef(gridId, mapGrid ,MouseCoords);
tileSize = mapGrid.TileSize; //convert from ushort to float
}

Expand Down

0 comments on commit 127d8b5

Please sign in to comment.