From cde78d069ad7f7d7798218d0fdf6363ebf1be2da Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Mon, 18 Jun 2018 01:03:21 -0700 Subject: [PATCH] Fix repairing Cyborg headlamp even when its panel is closed (#38550) --- code/modules/mob/living/silicon/robot/robot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/silicon/robot/robot.dm b/code/modules/mob/living/silicon/robot/robot.dm index 72c212fe847..7af7ffe22d2 100644 --- a/code/modules/mob/living/silicon/robot/robot.dm +++ b/code/modules/mob/living/silicon/robot/robot.dm @@ -529,7 +529,7 @@ else if(istype(W, /obj/item/flashlight)) if(!opened) to_chat(user, "You need to open the panel to repair the headlamp!") - if(lamp_cooldown <= world.time) + else if(lamp_cooldown <= world.time) to_chat(user, "The headlamp is already functional!") else if(!user.temporarilyRemoveItemFromInventory(W))