Revert "Purge uses of TransformComponent.Anchored.set. Also adds parentheses." (#35332)
This commit is contained in:
@@ -43,13 +43,13 @@ public sealed class DeployableBarrierSystem : EntitySystem
|
||||
|
||||
if (isDeployed && transform.GridUid != null)
|
||||
{
|
||||
_transform.AnchorEntity((uid, transform));
|
||||
_transform.AnchorEntity(uid, transform);
|
||||
if (fixture != null)
|
||||
_physics.SetHard(uid, fixture, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
_transform.Unanchor((uid, transform));
|
||||
_transform.Unanchor(uid, transform);
|
||||
if (fixture != null)
|
||||
_physics.SetHard(uid, fixture, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user