From 3c345d99defc063c5ea7a2fb081c94f1bb2ef18a Mon Sep 17 00:00:00 2001 From: ShizCalev Date: Tue, 30 Jan 2018 01:50:44 -0500 Subject: [PATCH] Fixes lightfixture placement issue --- code/modules/power/lighting.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index b86ac564780..e590f694e07 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -29,7 +29,7 @@ if(!..()) return var/area/A = get_area(user) - if(A.dynamic_lighting != DYNAMIC_LIGHTING_ENABLED) + if(!IS_DYNAMIC_LIGHTING(A)) to_chat(user, "You cannot place [src] in this area!") return return TRUE