Pulling state handling changes (#9952)

This commit is contained in:
Leon Friedrich
2022-07-29 14:13:43 +12:00
committed by GitHub
parent 7cf67e1323
commit ebe6093af1
4 changed files with 35 additions and 26 deletions

View File

@@ -65,7 +65,7 @@ namespace Content.Shared.Pulling
if (TryComp(uid, out JointComponent? joints))
{
foreach (var jt in joints.GetJoints)
foreach (var jt in joints.GetJoints.Values)
{
if (jt.BodyAUid == component.Puller || jt.BodyBUid == component.Puller)
return;