From dc06d0373c546ce8d52658b973b70e6d844637ec Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Sun, 4 Feb 2018 22:06:22 -0600 Subject: [PATCH] [MIRROR] Fixes lightfixture placement issue (#5225) * Fixes lightfixture placement issue * 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 cf00f911d8..7d86aac89f 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