Fix guardian damage transfer (#26541)

(cherry picked from commit 2e9c8f691c6a1e5f8e45899866a9fe443f9f4b50)
This commit is contained in:
Alice "Arimah" Heurlin 2024-03-30 02:25:42 +01:00 committed by NullWanderer
parent 494e510ee1
commit d995f62300
No known key found for this signature in database
GPG Key ID: 65CF92BD1D26F4AC
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ namespace Content.Server.Guardian
/// </summary>
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(