mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Fix incorrect calls to UnregisterSignal (#68698)
Fix calls to UnregisterSignal
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user