]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix Damageable API (#41657)
authorPrincess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
Mon, 1 Dec 2025 14:14:49 +0000 (06:14 -0800)
committerGitHub <noreply@github.com>
Mon, 1 Dec 2025 14:14:49 +0000 (14:14 +0000)
Fix damageable api

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Content.Shared/Damage/Systems/DamageableSystem.API.cs

index c5452eda7c27ad672f4a09be7ed04d26b8f51c42..273318bc488bf4e8c64198c7916554fddc469f0e 100644 (file)
@@ -74,7 +74,7 @@ public sealed partial class DamageableSystem
     {
         //! Empty just checks if the DamageSpecifier is _literally_ empty, as in, is internal dictionary of damage types is empty.
         // If you deal 0.0 of some damage type, Empty will be false!
-        return !TryChangeDamage(ent, damage, out _, ignoreResistances, interruptsDoAfters, origin, ignoreGlobalModifiers);
+        return TryChangeDamage(ent, damage, out _, ignoreResistances, interruptsDoAfters, origin, ignoreGlobalModifiers);
     }
 
     /// <summary>