Remove or fix broken Dirty() calls. (#18933)

This commit is contained in:
Leon Friedrich
2023-08-10 16:17:43 +12:00
committed by GitHub
parent 705a5e94db
commit 9da4679220
5 changed files with 29 additions and 15 deletions

View File

@@ -58,7 +58,7 @@ public sealed class BodySystem : SharedBodySystem
if (TryComp(slot.Child, out BodyPartComponent? child))
{
child.ParentSlot = slot;
Dirty(slot.Child.Value);
Dirty(slot.Child.Value, child);
continue;
}
@@ -75,7 +75,7 @@ public sealed class BodySystem : SharedBodySystem
if (TryComp(slot.Child, out OrganComponent? child))
{
child.ParentSlot = slot;
Dirty(slot.Child.Value);
Dirty(slot.Child.Value, child);
continue;
}
@@ -101,7 +101,7 @@ public sealed class BodySystem : SharedBodySystem
}
child.ParentSlot = slot;
Dirty(slot.Child.Value);
Dirty(slot.Child.Value, child);
}
private void OnRelayMoveInput(EntityUid uid, BodyComponent component, ref MoveInputEvent args)