Purge uses of TransformComponent.Anchored.set. Also adds parentheses. (#34938)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user