mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Remote materials don't block multitool on failure (#84797)
## About The Pull Request - Fixes #84794 `/datum/component/remote_materials` blocks the tool act from continuing when linking with ore silo fails. We don't want that for stacking machines ## Changelog 🆑 fix: stacking machines can be linked with its console via multitool /🆑
This commit is contained in:
@@ -147,7 +147,7 @@ handles linking back and forth.
|
||||
/datum/component/remote_materials/proc/OnMultitool(datum/source, mob/user, obj/item/multitool/M)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
. = ITEM_INTERACT_BLOCKING
|
||||
. = NONE
|
||||
if (!QDELETED(M.buffer) && istype(M.buffer, /obj/machinery/ore_silo))
|
||||
if (silo == M.buffer)
|
||||
to_chat(user, span_warning("[parent] is already connected to [silo]!"))
|
||||
|
||||
Reference in New Issue
Block a user