Missed Mirror: Fix incorrect calls to UnregisterSignal (#68698) (#18856)

Fix incorrect calls to UnregisterSignal (#68698)

Fix calls to UnregisterSignal

(cherry picked from commit aba3bc80e0)

# Conflicts:
#	code/_onclick/hud/new_player.dm
#	code/datums/status_effects/debuffs/debuffs.dm
#	code/game/objects/items/devices/geiger_counter.dm

Co-authored-by: Gamer025 <33846895+Gamer025@users.noreply.github.com>
This commit is contained in:
nevimer
2023-01-21 22:15:23 -08:00
committed by GitHub
co-authored by Gamer025
parent 9baf0a574d
commit b2e7e489cb
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -268,7 +268,7 @@
SIGNAL_HANDLER
flick("[base_icon_state]_enabled", src)
set_button_status(TRUE)
UnregisterSignal(SSticker, COMSIG_TICKER_ENTER_PREGAME, PROC_REF(enable_observing))
UnregisterSignal(SSticker, COMSIG_TICKER_ENTER_PREGAME)
/atom/movable/screen/lobby/button/settings
icon = 'icons/hud/lobby/bottom_buttons.dmi'
+1 -1
View File
@@ -30,7 +30,7 @@
/datum/element/weather_listener/Detach(datum/source)
. = ..()
UnregisterSignal(source, COMSIG_MOVABLE_Z_CHANGED, COMSIG_MOB_LOGOUT)
UnregisterSignal(source, list(COMSIG_MOVABLE_Z_CHANGED, COMSIG_MOB_LOGOUT))
/datum/element/weather_listener/proc/handle_z_level_change(datum/source, turf/old_loc, turf/new_loc)
SIGNAL_HANDLER
@@ -829,7 +829,7 @@
/datum/status_effect/ants/on_remove()
ants_remaining = 0
to_chat(owner, span_notice("All of the ants are off of your body!"))
UnregisterSignal(owner, COMSIG_COMPONENT_CLEAN_ACT, PROC_REF(ants_washed))
UnregisterSignal(owner, COMSIG_COMPONENT_CLEAN_ACT)
. = ..()
/datum/status_effect/ants/proc/ants_washed()
@@ -88,7 +88,7 @@
/obj/item/geiger_counter/dropped(mob/user, silent = FALSE)
. = ..()
UnregisterSignal(user, COMSIG_IN_RANGE_OF_IRRADIATION, PROC_REF(on_pre_potential_irradiation))
UnregisterSignal(user, COMSIG_IN_RANGE_OF_IRRADIATION)
/obj/item/geiger_counter/proc/on_pre_potential_irradiation(datum/source, datum/radiation_pulse_information/pulse_information, insulation_to_target)
SIGNAL_HANDLER