From 2e9c8f691c6a1e5f8e45899866a9fe443f9f4b50 Mon Sep 17 00:00:00 2001 From: "Alice \"Arimah\" Heurlin" <30327355+arimah@users.noreply.github.com> Date: Sat, 30 Mar 2024 02:25:42 +0100 Subject: [PATCH] Fix guardian damage transfer (#26541) --- Content.Server/Guardian/GuardianSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Guardian/GuardianSystem.cs b/Content.Server/Guardian/GuardianSystem.cs index e58f997b21..97d4eb0680 100644 --- a/Content.Server/Guardian/GuardianSystem.cs +++ b/Content.Server/Guardian/GuardianSystem.cs @@ -256,7 +256,7 @@ namespace Content.Server.Guardian /// private void OnGuardianDamaged(EntityUid uid, GuardianComponent component, DamageChangedEvent args) { - if (args.DamageDelta == null || component.Host == null || component.DamageShare > 0) + if (args.DamageDelta == null || component.Host == null || component.DamageShare == 0) return; _damageSystem.TryChangeDamage( -- 2.51.2