mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Use !E.brutedam instead of == 0
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
break
|
||||
else if(E.status && ORGAN_ROBOT || E.open) // Ignore robotic or open limb
|
||||
continue
|
||||
else if(E.brute_dam == 0 && E.burn_dam == 0) // Ignore undamaged limb
|
||||
else if(!E.brute_dam && !E.burn_dam) // Ignore undamaged limb
|
||||
continue
|
||||
nrembrute = rembrute - E.brute_dam // Deduct the healed damage from the remain
|
||||
nremburn = remburn - E.burn_dam
|
||||
|
||||
Reference in New Issue
Block a user