Skip to content

Commit

Permalink
hotfix limbs are now destroyable by slash, blunt, heat
Browse files Browse the repository at this point in the history
  • Loading branch information
TokenStyle committed Nov 22, 2024
1 parent fdb6e27 commit 1ddecce
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 @@ -410,6 +410,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 1ddecce

Please sign in to comment.