From 7ee43a6a42c8ce32b7c3087c7641062e681fa1fc Mon Sep 17 00:00:00 2001 From: Morrow Date: Fri, 3 Nov 2023 09:59:48 -0400 Subject: [PATCH] Please god just update your image correctly --- code/controllers/subsystem/minimap.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/controllers/subsystem/minimap.dm b/code/controllers/subsystem/minimap.dm index a4a2331a4a..83bb088bc9 100644 --- a/code/controllers/subsystem/minimap.dm +++ b/code/controllers/subsystem/minimap.dm @@ -310,12 +310,14 @@ SUBSYSTEM_DEF(minimaps) SIGNAL_HANDLER RegisterSignal(user, COMSIG_MOVABLE_MOVED, TYPE_PROC_REF(/image, minimap_on_move), override = TRUE) + UnregisterSignal(source, COMSIG_MOVABLE_MOVED) /image/proc/minimap_on_drop(obj/item/source, mob/user) SIGNAL_HANDLER - if(recursive_holder_check(source) != user) + if(recursive_holder_check(source, recursion_limit = 5) != user) UnregisterSignal(user, COMSIG_MOVABLE_MOVED) + RegisterSignal(source, COMSIG_MOVABLE_MOVED, TYPE_PROC_REF(/image, minimap_on_move)) /** * Removes an atom and it's blip from the subsystem.