Skip to content

Commit

Permalink
Fix limbs being gibbable and let head drop brain, eyes etc
Browse files Browse the repository at this point in the history
  • Loading branch information
TokenStyle committed Nov 22, 2024
1 parent eff3dc9 commit c2d19a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Content.Shared/Body/Systems/SharedBodySystem.Body.cs
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,10 @@ public virtual HashSet<EntityUid> GibPart(
launchCone: splatCone);
}

_gibbingSystem.TryGibEntityWithRef(partId, partId, GibType.Gib, GibContentsOption.Drop, ref gibs,
playAudio: true, launchGibs: true, launchDirection: splatDirection, launchImpulse: GibletLaunchImpulse * splatModifier,
launchImpulseVariance: GibletLaunchImpulseVariance, launchCone: splatCone);

if (HasComp<InventoryComponent>(partId))
{
foreach (var item in _inventory.GetHandOrInventoryEntities((partId)))
Expand Down

0 comments on commit c2d19a1

Please sign in to comment.