From 86f8ed5111ff35b7c29c770d7886cdc7d7c64039 Mon Sep 17 00:00:00 2001 From: Tigercat2000 Date: Sun, 22 Mar 2015 18:36:54 +0100 Subject: [PATCH] Fixes related issue with spamclicking lights --- code/modules/power/lighting.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index 856443396c5..02b9dea2e2b 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -345,7 +345,7 @@ // attack with item - insert light (if right type), otherwise try to break the light /obj/machinery/light/attackby(obj/item/W, mob/living/user, params) - + user.changeNext_move(CLICK_CD_MELEE) //does not call parent requires manual definition //Light replacer code if(istype(W, /obj/item/device/lightreplacer)) var/obj/item/device/lightreplacer/LR = W