diff --git a/Content.Shared/Body/Components/SharedBodyPartComponent.cs b/Content.Shared/Body/Components/SharedBodyPartComponent.cs index 2420258894..fcf67afbc5 100644 --- a/Content.Shared/Body/Components/SharedBodyPartComponent.cs +++ b/Content.Shared/Body/Components/SharedBodyPartComponent.cs @@ -291,7 +291,7 @@ namespace Content.Shared.Body.Components { var gibs = new HashSet(); - foreach (var mechanism in _mechanisms) + foreach (var mechanism in _mechanisms.ToArray()) { gibs.Add(mechanism.Owner); RemoveMechanism(mechanism);