From 035a3a5657041da2c2c4444e6107cab83356bd59 Mon Sep 17 00:00:00 2001 From: Casper3667 <8396443+Casper3667@users.noreply.github.com> Date: Wed, 29 Apr 2026 01:49:37 +0200 Subject: [PATCH] Fixed that PDAs showed as damage when they were not (#22378) Fixes https://github.com/Aurorastation/Aurora.3/issues/22377 --- .../modular_computers/computers/modular_computer/damage.dm | 2 +- html/changelogs/PDAFix.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/PDAFix.yml diff --git a/code/modules/modular_computers/computers/modular_computer/damage.dm b/code/modules/modular_computers/computers/modular_computer/damage.dm index 18dce50a8c8..3d3373a17df 100644 --- a/code/modules/modular_computers/computers/modular_computer/damage.dm +++ b/code/modules/modular_computers/computers/modular_computer/damage.dm @@ -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) diff --git a/html/changelogs/PDAFix.yml b/html/changelogs/PDAFix.yml new file mode 100644 index 00000000000..6707c844da3 --- /dev/null +++ b/html/changelogs/PDAFix.yml @@ -0,0 +1,6 @@ +author: TheGreyWolf + +delete-after: True + +changes: + - bugfix: "Fixed that PDAs showed as damaged when they weren't."