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