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

@@ -140,7 +140,7 @@ namespace Content.Client.Physics.Controllers
protected override bool CanSound()
{
return _timing.IsFirstTimePredicted && _timing.InSimulation;
return _timing is { IsFirstTimePredicted: true, InSimulation: true };
}
}
}