Revert "Purge uses of TransformComponent.Anchored.set. Also adds parentheses." (#35332)

This commit is contained in:
metalgearsloth
2025-02-21 00:12:12 +11:00
committed by GitHub
parent a4001fba1b
commit fa35c9623d
22 changed files with 34 additions and 35 deletions

View File

@@ -133,7 +133,7 @@ public sealed class DefusableSystem : SharedDefusableSystem
var xform = Transform(uid);
if (!xform.Anchored)
_transform.AnchorEntity((uid, xform));
_transform.AnchorEntity(uid, xform);
SetBolt(comp, true);
SetActivated(comp, true);
@@ -203,7 +203,7 @@ public sealed class DefusableSystem : SharedDefusableSystem
comp.Bolted = false;
if (xform.Anchored)
_transform.Unanchor((uid, xform));
_transform.Unanchor(uid, xform);
_appearance.SetData(uid, DefusableVisuals.Active, comp.Activated);
}