Replace obsolete xform.ToMap() with xformSystem.ToMapCoordinates() (#30010)
* Get rid of a bunch of obsolete usages * position --------- Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
@@ -35,9 +35,9 @@ public sealed partial class ShuttleSystem
|
||||
switch (mapObj)
|
||||
{
|
||||
case ShuttleBeaconObject beacon:
|
||||
return GetCoordinates(beacon.Coordinates).ToMap(EntityManager, XformSystem);
|
||||
return XformSystem.ToMapCoordinates(GetCoordinates(beacon.Coordinates));
|
||||
case ShuttleExclusionObject exclusion:
|
||||
return GetCoordinates(exclusion.Coordinates).ToMap(EntityManager, XformSystem);
|
||||
return XformSystem.ToMapCoordinates(GetCoordinates(exclusion.Coordinates));
|
||||
case GridMapObject grid:
|
||||
var gridXform = Transform(grid.Entity);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user