Fix guardian damage transfer (#26541)
This commit is contained in:
committed by
GitHub
parent
86a24db72a
commit
2e9c8f691c
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user