Purge uses of TransformComponent.Anchored.set. Also adds parentheses. (#34938)

This commit is contained in:
TemporalOroboros
2025-02-20 04:06:39 -08:00
committed by GitHub
parent c8dce26dbb
commit a4001fba1b
22 changed files with 35 additions and 34 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);
}