This commit is contained in:
Werner
2017-02-07 21:46:49 +01:00
committed by skull132
parent 66d441898e
commit 5aa2273625

View File

@@ -106,6 +106,11 @@
return attack_self(user)
return ..()
/obj/item/modular_computer/attack_ai(var/mob/user)
if(anchored)
return attack_self(user)
return ..()
// On-click handling. Turns on the computer if it's off and opens the GUI.
/obj/item/modular_computer/attack_self(mob/user)
if(enabled && screen_on)