Skip to content

Commit

Permalink
kill BreathingImmunity
Browse files Browse the repository at this point in the history
  • Loading branch information
Roudenn committed Nov 22, 2024
1 parent d02e1c2 commit 4c8247e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
1 change: 1 addition & 0 deletions Content.Server/Backmen/Blob/ZombieBlobSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using Content.Shared.Atmos;
using Content.Shared.Backmen.Blob;
using Content.Shared.Backmen.Blob.Components;
using Content.Shared.Backmen.Surgery.Body;
using Content.Shared.Damage;
using Content.Shared.Inventory;
using Content.Shared.Mind.Components;
Expand Down
3 changes: 1 addition & 2 deletions Content.Server/Body/Systems/RespiratorSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public override void Update(float frameTime)

respirator.NextUpdate += respirator.UpdateInterval;

if (_mobState.IsDead(uid) || HasComp<BreathingImmunityComponent>(uid)) // backmen: surgery
if (_mobState.IsDead(uid))
continue;

UpdateSaturation(uid, -(float) respirator.UpdateInterval.TotalSeconds, respirator);
Expand Down Expand Up @@ -104,7 +104,6 @@ public override void Update(float frameTime)
}
continue;
}
else
// end-backmen: blob zombie
if (respirator.Saturation < respirator.SuffocationThreshold)
{
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
components:
- type: StatusEffectOrgan
refresh:
BreathingImmunity: BreathingImmunity
BreathingImmunity: RespiratorImmunity

- type: entity
parent: OrganAnimalHeart
Expand Down

0 comments on commit 4c8247e

Please sign in to comment.