Remove transform methods from mapgrid (#12233)
This commit is contained in:
@@ -331,8 +331,10 @@ namespace Content.Server.GameTicking
|
||||
|
||||
if (_mapManager.TryFindGridAt(toMap, out var foundGrid))
|
||||
{
|
||||
var gridXform = Transform(foundGrid.GridEntityId);
|
||||
|
||||
return new EntityCoordinates(foundGrid.GridEntityId,
|
||||
foundGrid.InvWorldMatrix.Transform(toMap.Position));
|
||||
gridXform.InvWorldMatrix.Transform(toMap.Position));
|
||||
}
|
||||
|
||||
return spawn;
|
||||
|
||||
Reference in New Issue
Block a user