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

@@ -146,7 +146,7 @@ public abstract class SharedChameleonProjectorSystem : EntitySystem
var xform = Transform(uid);
if (xform.Anchored)
_xform.Unanchor(uid, xform);
_xform.Unanchor((uid, xform));
else
_xform.AnchorEntity((uid, xform));
@@ -241,7 +241,7 @@ public abstract class SharedChameleonProjectorSystem : EntitySystem
var xform = Transform(ent);
xform.NoLocalRotation = false;
_xform.Unanchor(ent, xform);
_xform.Unanchor((ent, xform));
Del(ent.Comp.Disguise);
RemComp<ChameleonDisguisedComponent>(ent);