diff --git a/Content.Server/Body/Systems/BodySystem.cs b/Content.Server/Body/Systems/BodySystem.cs index a535b9a1fff..0c7a021e7ee 100644 --- a/Content.Server/Body/Systems/BodySystem.cs +++ b/Content.Server/Body/Systems/BodySystem.cs @@ -33,8 +33,19 @@ public override void Initialize() SubscribeLocalEvent(OnRelayMoveInput); SubscribeLocalEvent(OnApplyMetabolicMultiplier); + SubscribeLocalEvent(OnGibTorsoAttempt); // backmen: surgery } + // start-backmen: surgery + private void OnGibTorsoAttempt(Entity ent, ref AttemptEntityGibEvent args) + { + if (ent.Comp.PartType == BodyPartType.Torso) + { + args.GibType = GibType.Skip; + } + } + // end-backmen: surgery + private void OnRelayMoveInput(Entity ent, ref MoveInputEvent args) { // If they haven't actually moved then ignore it.