Fixed that PDAs showed as damage when they were not (#22378)

Fixes https://github.com/Aurorastation/Aurora.3/issues/22377
This commit is contained in:
Casper3667
2026-04-29 01:49:37 +02:00
committed by GitHub
parent 343b831ffc
commit 035a3a5657
2 changed files with 7 additions and 1 deletions
@@ -6,7 +6,7 @@
. += FONT_SMALL(SPAN_NOTICE(" - [capitalize_first_letters(CH.name)]"))
if(health <= broken_damage)
. += SPAN_DANGER("It is heavily damaged!")
else if(health <= maxhealth)
else if(health < maxhealth)
. += SPAN_WARNING("It is damaged.")
/obj/item/modular_computer/add_damage(damage, damage_flags, damage_type, armor_penetration, obj/weapon)