Makes it clear that the health sensor cannot be activated while unsecured (#63529)

This commit is contained in:
Seth Scherer
2021-12-22 13:02:29 -08:00
committed by GitHub
parent 03e870b7b8
commit 16e1f17206
+4 -1
View File
@@ -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()