From 6178fbb32e39dd31483554b371366c0f37a4472d Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Thu, 14 May 2015 06:01:49 -0400 Subject: [PATCH] Fix --- code/modules/lighting/light_source.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/lighting/light_source.dm b/code/modules/lighting/light_source.dm index 35bd0db7323..30493b98bec 100644 --- a/code/modules/lighting/light_source.dm +++ b/code/modules/lighting/light_source.dm @@ -69,7 +69,7 @@ lighting_update_lights += src /datum/light_source/proc/check() - if(!source_atom) + if(!source_atom || !light_range || !light_power) destroy() return 1