Skip to content

Commit

Permalink
mmmmmmm yes
Browse files Browse the repository at this point in the history
  • Loading branch information
EmoGarbage404 committed Apr 24, 2024
1 parent ccf312d commit ca31439
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -880,14 +880,6 @@ public void SetMapCoordinates(EntityUid entity, MapCoordinates coordinates)
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void SetMapCoordinates(Entity<TransformComponent> entity, MapCoordinates coordinates)
{
var xform = entity.Comp;

if (!xform._parent.IsValid() || xform.MapUid == null)
{
DebugTools.Assert("Parent is invalid while attempting to set MapCoordinates - did you try to move root node?");
return;
}

var mapUid = _map.GetMap(coordinates.MapId);
if (!_gridQuery.HasComponent(entity) &&
_mapManager.TryFindGridAt(mapUid, coordinates.Position, out var targetGrid, out _))
Expand Down

0 comments on commit ca31439

Please sign in to comment.