Merge pull request #7153 from Citadel-Station-13/upstream-merge-38550
[MIRROR] Fix repairing Cyborg headlamp even when its panel is closed
This commit is contained in:
@@ -537,7 +537,7 @@
|
||||
else if(istype(W, /obj/item/flashlight))
|
||||
if(!opened)
|
||||
to_chat(user, "<span class='warning'>You need to open the panel to repair the headlamp!</span>")
|
||||
if(lamp_cooldown <= world.time)
|
||||
else if(lamp_cooldown <= world.time)
|
||||
to_chat(user, "<span class='warning'>The headlamp is already functional!</span>")
|
||||
else
|
||||
if(!user.temporarilyRemoveItemFromInventory(W))
|
||||
|
||||
Reference in New Issue
Block a user