Content side for removing IMap / IMapGrid comps (#12357)
This commit is contained in:
@@ -402,7 +402,7 @@ public sealed partial class CargoSystem
|
||||
}
|
||||
|
||||
var offset = 0f;
|
||||
if (TryComp<IMapGridComponent>(orderDatabase.Shuttle, out var shuttleGrid))
|
||||
if (TryComp<MapGridComponent>(orderDatabase.Shuttle, out var shuttleGrid))
|
||||
{
|
||||
var bounds = shuttleGrid.Grid.LocalAABB;
|
||||
offset = MathF.Max(bounds.Width, bounds.Height) / 2f;
|
||||
|
||||
Reference in New Issue
Block a user