Makes the /Stat proc about five times faster (#22735)

* i am going to scream

* less fucked up with sad removal
This commit is contained in:
GDN
2023-10-12 09:45:17 -05:00
committed by GitHub
parent 472d7ec6f2
commit a89a234737
11 changed files with 68 additions and 67 deletions
+8
View File
@@ -55,6 +55,14 @@
audible_message("[bicon(src)] *beep* *beep*")
toggle_scan()
/obj/item/assembly/health/pickup(mob/user)
..()
ADD_TRAIT(user, TRAIT_CAN_VIEW_HEALTH, "HEALTH[UID()]")
/obj/item/gps/dropped(mob/user, silent)
REMOVE_TRAIT(user, TRAIT_CAN_VIEW_HEALTH, "HEALTH[UID()]")
return ..()
/obj/item/assembly/health/proc/toggle_scan()
if(!secured)
return FALSE