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