From b53537533bca7399d9c8f89a339c37a4b77dfe3b Mon Sep 17 00:00:00 2001 From: Dennok Date: Tue, 10 Mar 2020 10:32:39 +0200 Subject: [PATCH] Change cable layer only in hand. (#49852) Now you can change cable layer only in hand --- code/modules/power/cable.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/power/cable.dm b/code/modules/power/cable.dm index f080a894523..67041349241 100644 --- a/code/modules/power/cable.dm +++ b/code/modules/power/cable.dm @@ -434,6 +434,8 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list(new/datum/stack_recipe("cable restrain return TRUE /obj/item/stack/cable_coil/CtrlClick(mob/living/user) + if(loc!=user) + return ..() if(!user) return var/list/layer_list = list(