Fix duplicate mech footstep sounds (#12972)

* Fix duplicate mech footstep sounds

We just add a new component for relay targets so we can use that for audio prediction.

* Fix cwash

* woop
This commit is contained in:
metalgearsloth
2022-12-12 00:18:25 +11:00
committed by GitHub
parent a7a43c8b34
commit 748b79d1df
5 changed files with 106 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ namespace Content.Server.Physics.Controllers
}
PhysicsComponent? body = null;
TransformComponent? xformMover = xform;
var xformMover = xform;
if (mover.ToParent && relayQuery.HasComponent(xform.ParentUid))
{