mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Merge pull request #16579 from FlattestGuitar/armor-defines
Adds defines for damage flags
This commit is contained in:
@@ -315,7 +315,7 @@
|
||||
if(HAS_TRAIT(occupant, TRAIT_GENELESS))
|
||||
return TRUE
|
||||
|
||||
var/radiation_protection = occupant.run_armor_check(null, "rad")
|
||||
var/radiation_protection = occupant.run_armor_check(null, RAD)
|
||||
if(radiation_protection > NEGATE_MUTATION_THRESHOLD)
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user