Merge pull request #16731 from hal9000PR/gun-light-runtime-fix

Gunlight runtime fix
This commit is contained in:
variableundefined
2021-09-18 18:48:13 -05:00
committed by GitHub

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