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