Fixes related issue with spamclicking lights

This commit is contained in:
Tigercat2000
2015-03-22 18:36:54 +01:00
parent 689713ddbd
commit 86f8ed5111
+1 -1
View File
@@ -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