From b3d5a6840ecb7e2378eeeecbf9da4df74414a7ed Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 22 Dec 2021 23:41:30 +0100 Subject: [PATCH] [MIRROR] Makes it clear that the health sensor cannot be activated while unsecured [MDB IGNORE] (#10203) * Makes it clear that the health sensor cannot be activated while unsecured (#63529) * Makes it clear that the health sensor cannot be activated while unsecured Co-authored-by: Seth Scherer --- code/modules/assembly/health.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/assembly/health.dm b/code/modules/assembly/health.dm index e01bcc8e982..8a2607fa341 100644 --- a/code/modules/assembly/health.dm +++ b/code/modules/assembly/health.dm @@ -71,5 +71,8 @@ /obj/item/assembly/health/attack_self(mob/user) . = ..() - to_chat(user, span_notice("You toggle [src] [src.scanning ? "off" : "on"].")) + if (secured) + balloon_alert(user, "scanning [scanning ? "disabled" : "enabled"]") + else + balloon_alert(user, span_warning("secure it first!")) toggle_scan()