mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +01:00
@@ -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