Fix incorrect calls to UnregisterSignal (#68698)

Fix calls to UnregisterSignal
This commit is contained in:
Gamer025
2022-07-24 20:50:27 -05:00
committed by GitHub
parent 8a7db5c605
commit aba3bc80e0
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -247,7 +247,7 @@
SIGNAL_HANDLER
flick("[base_icon_state]_enabled", src)
set_button_status(TRUE)
UnregisterSignal(SSticker, COMSIG_TICKER_ENTER_PREGAME, .proc/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
@@ -29,7 +29,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, old_z, new_z)
SIGNAL_HANDLER
@@ -1127,7 +1127,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/ants_washed)
UnregisterSignal(owner, COMSIG_COMPONENT_CLEAN_ACT)
. = ..()
/datum/status_effect/ants/proc/ants_washed()
@@ -87,7 +87,7 @@
/obj/item/geiger_counter/dropped(mob/user, silent = FALSE)
. = ..()
UnregisterSignal(user, COMSIG_IN_RANGE_OF_IRRADIATION, .proc/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