mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user