From b5478b6e9d1991e18ff42024c22c62a8ec910c65 Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Mon, 18 Jun 2018 01:03:21 -0700 Subject: [PATCH 1/2] 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 2e38e9462d..40ec50d67e 100644 --- a/code/modules/mob/living/silicon/robot/robot.dm +++ b/code/modules/mob/living/silicon/robot/robot.dm @@ -537,7 +537,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))