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))