Skip to content

Commit

Permalink
Please god just update your image correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Nov 3, 2023
1 parent f905fa4 commit 7ee43a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/controllers/subsystem/minimap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7ee43a6

Please sign in to comment.