Purge uses of TransformComponent.Anchored.set. Also adds parentheses. (#34938)
This commit is contained in:
@@ -40,7 +40,7 @@ public sealed class PipeRestrictOverlapSystem : EntitySystem
|
||||
if (HasComp<AnchorableComponent>(ent) && CheckOverlap(ent))
|
||||
{
|
||||
_popup.PopupEntity(Loc.GetString("pipe-restrict-overlap-popup-blocked", ("pipe", ent.Owner)), ent);
|
||||
_xform.Unanchor(ent, Transform(ent));
|
||||
_xform.Unanchor((ent, Transform(ent)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user