use SIGNAL_HANDLER REEEEEE (#59242)

makes as many procs as i can find use the SIGNAL_HANDLER define which i assumed they all already did
This commit is contained in:
Kylerace
2021-05-24 15:28:02 -04:00
committed by GitHub
parent 965a8de99c
commit e13fe75590
121 changed files with 199 additions and 34 deletions
+1
View File
@@ -144,6 +144,7 @@
listeningTo = null
/obj/item/storage/bag/ore/proc/Pickup_ores(mob/living/user)
SIGNAL_HANDLER
var/show_message = FALSE
var/obj/structure/ore_box/box
var/turf/tile = user.loc
@@ -591,6 +591,7 @@
///freezes the organ and loops bodyparts like heads
/obj/item/storage/organbox/proc/freeze(datum/source, obj/item/I)
SIGNAL_HANDLER
if(isorgan(I))
var/obj/item/organ/organ = I
organ.organ_flags |= ORGAN_FROZEN
@@ -604,6 +605,7 @@
///unfreezes the organ and loops bodyparts like heads
/obj/item/storage/organbox/proc/unfreeze(datum/source, obj/item/I)
SIGNAL_HANDLER
if(isorgan(I))
var/obj/item/organ/organ = I
organ.organ_flags &= ~ORGAN_FROZEN