Skip to content

Commit

Permalink
Deletes organs on body gib to reduce visual and data clutter (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbertoche authored Oct 17, 2024
1 parent 6f52864 commit 70990f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Content.Shared/Body/Systems/SharedBodySystem.Body.cs
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ public virtual HashSet<EntityUid> GibBody(
_gibbingSystem.TryGibEntityWithRef(bodyId, organ.Id, GibType.Drop, GibContentsOption.Skip,
ref gibs, playAudio: false, launchImpulse: GibletLaunchImpulse * splatModifier,
launchImpulseVariance:GibletLaunchImpulseVariance, launchCone: splatCone);
QueueDel(organ.Id);
}
}
if (TryComp<InventoryComponent>(bodyId, out var inventory))
Expand Down

0 comments on commit 70990f7

Please sign in to comment.