diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index fc650f1810f..b69482fdf6c 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -403,7 +403,7 @@ return TRUE /obj/item/gun/extinguish_light() - if(gun_light.on) + if(gun_light?.on) toggle_gunlight() visible_message("[src]'s light fades and turns off.")