]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[HOTFIX] FIX LIGHT MELEE LOGS (#41655)
authorPrincess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
Mon, 1 Dec 2025 11:01:04 +0000 (03:01 -0800)
committerGitHub <noreply@github.com>
Mon, 1 Dec 2025 11:01:04 +0000 (03:01 -0800)
God fugcking

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Content.Shared/Weapons/Melee/SharedMeleeWeaponSystem.cs

index a010dbec17fa1406b5b3285cdcc3d70219fef520..e00a634c216a3c5ae1880201b5d93904d63271c6 100644 (file)
@@ -543,7 +543,7 @@ public abstract class SharedMeleeWeaponSystem : EntitySystem
 
         var modifiedDamage = DamageSpecifier.ApplyModifierSets(damage + hitEvent.BonusDamage + attackedEvent.BonusDamage, hitEvent.ModifiersList);
 
-        if (!Damageable.TryChangeDamage(target.Value, modifiedDamage, out var damageResult, origin:user, ignoreResistances:resistanceBypass))
+        if (Damageable.TryChangeDamage(target.Value, modifiedDamage, out var damageResult, origin:user, ignoreResistances:resistanceBypass))
         {
             // If the target has stamina and is taking blunt damage, they should also take stamina damage based on their blunt to stamina factor
             if (damageResult.DamageDict.TryGetValue("Blunt", out var bluntDamage))