mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user