Adds SIGNAL_HANDLER to modular procs that were missing it (#10121)

This commit is contained in:
Tom
2021-12-18 22:24:50 +00:00
committed by GitHub
parent 0875409ae8
commit a02b93374a
7 changed files with 11 additions and 0 deletions
@@ -67,6 +67,7 @@
SEND_SIGNAL(src, COMSIG_FIREALARM_TRIGGER_DOORS)
/obj/machinery/firealarm/proc/trigger_effects()
SIGNAL_HANDLER
SEND_SIGNAL(src, COMSIG_FIREALARM_TRIGGERED_ON)
/obj/machinery/firealarm/proc/untrigger_effects()
@@ -210,6 +210,7 @@ var/current_turf
return TRUE
/datum/emote/living/mark_turf/proc/turf_owner(mob/living/user)
SIGNAL_HANDLER
UnregisterSignal(user, COMSIG_MOVABLE_MOVED)
var/obj/owned_turf = user.owned_turf
@@ -44,6 +44,7 @@ GLOBAL_LIST_INIT(fishing_weights, list(
return ..()
/datum/component/fishing/proc/start_fishing()
SIGNAL_HANDLER
var/random_fish_time = rand(3 SECONDS, 6 SECONDS)
COOLDOWN_START(src, start_fishing_window, random_fish_time)
COOLDOWN_START(src, stop_fishing_window, random_fish_time + 2 SECONDS)
@@ -62,6 +63,7 @@ GLOBAL_LIST_INIT(fishing_weights, list(
atom_parent.do_alert_animation()
/datum/component/fishing/proc/finish_fishing(atom/fisher = null, master_involved = FALSE)
SIGNAL_HANDLER
if(reel_sound_timer)
deltimer(reel_sound_timer)
if(mutate_parent)
@@ -158,6 +160,7 @@ GLOBAL_LIST_INIT(fishing_weights, list(
target_atom = null
/obj/item/fishing_rod/proc/check_movement()
SIGNAL_HANDLER
if(!listening_to)
return
if(!target_atom)
@@ -193,6 +193,7 @@
qdel(src)
/datum/gunpoint/proc/SourceUpdatedResting(datum/datum_source, resting)
SIGNAL_HANDLER
if(resting)
qdel(src)
@@ -28,6 +28,7 @@
qdel(src)
/datum/component/temporary_pollution_emission/proc/wash_off()
SIGNAL_HANDLER
if(ismob(parent))
to_chat(parent, span_notice("The smell that lingered on your body fades."))
qdel(src)
@@ -35,11 +35,13 @@
return ..()
/datum/component/reagent_clothing/proc/set_wearer()
SIGNAL_HANDLER
if(!ishuman(parent_clothing.loc))
return
cloth_wearer = parent_clothing.loc
/datum/component/reagent_clothing/proc/remove_wearer()
SIGNAL_HANDLER
cloth_wearer = null
/datum/component/reagent_clothing/process(delta_time)
@@ -79,6 +81,7 @@
return ..()
/datum/component/reagent_weapon/proc/inject_attacked(datum/source, mob/living/target, mob/living/user, params)
SIGNAL_HANDLER
if(!parent_weapon || !length(imbued_reagent))
return
var/mob/living_target = target
@@ -237,6 +237,7 @@
listeningTo = null
/obj/item/storage/bag/xenoarch/proc/pickup_rocks(mob/living/user)
SIGNAL_HANDLER
var/show_message = FALSE
var/turf/tile = user.loc
if (!isturf(tile))