This commit is contained in:
hal9000PR
2021-09-18 23:44:10 +01:00
parent 522390c0b9
commit bf04ec4b34
+1 -1
View File
@@ -403,7 +403,7 @@
return TRUE
/obj/item/gun/extinguish_light()
if(gun_light.on)
if(gun_light?.on)
toggle_gunlight()
visible_message("<span class='danger'>[src]'s light fades and turns off.</span>")