mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
[MIRROR] Fixes RPD runtime (#2148)
* Fixes RPD runtime (#55453) Simple signal regregister runtime. * Fixes RPD runtime Co-authored-by: AnturK <AnturK@users.noreply.github.com>
This commit is contained in:
@@ -243,7 +243,10 @@ GLOBAL_LIST_INIT(transit_tube_recipes, list(
|
||||
|
||||
/obj/item/pipe_dispenser/equipped(mob/user, slot, initial)
|
||||
. = ..()
|
||||
RegisterSignal(user, COMSIG_MOUSE_SCROLL_ON, .proc/mouse_wheeled)
|
||||
if(slot == ITEM_SLOT_HANDS)
|
||||
RegisterSignal(user, COMSIG_MOUSE_SCROLL_ON, .proc/mouse_wheeled)
|
||||
else
|
||||
UnregisterSignal(user,COMSIG_MOUSE_SCROLL_ON)
|
||||
|
||||
/obj/item/pipe_dispenser/dropped(mob/user, silent)
|
||||
UnregisterSignal(user, COMSIG_MOUSE_SCROLL_ON)
|
||||
|
||||
Reference in New Issue
Block a user