From 3bbc86c95cf17c33f3229139432d8559a92cf895 Mon Sep 17 00:00:00 2001 From: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com> Date: Sun, 20 Dec 2020 13:29:40 -0800 Subject: [PATCH] Allow modular computers to be attacked (#55629) You will now attack modular computers if you are not in help intent, rather than opening up their menu. Why It's Good For The Game i died here as nightmare because i couldnt attack the computer --- .../modular_computers/computers/machinery/modular_computer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/modular_computers/computers/machinery/modular_computer.dm b/code/modules/modular_computers/computers/machinery/modular_computer.dm index 289ae7155fd..1409b208b1a 100644 --- a/code/modules/modular_computers/computers/machinery/modular_computer.dm +++ b/code/modules/modular_computers/computers/machinery/modular_computer.dm @@ -116,7 +116,7 @@ return cpu.screwdriver_act(user, tool) /obj/machinery/modular_computer/attackby(obj/item/W as obj, mob/user) - if(cpu && !(flags_1 & NODECONSTRUCT_1)) + if (user.a_intent == INTENT_HELP && cpu && !(flags_1 & NODECONSTRUCT_1)) return cpu.attackby(W, user) return ..()