Fixes lightfixture placement issue

This commit is contained in:
ShizCalev
2018-01-31 09:04:51 -06:00
committed by KorPhaeron
parent 5c8195cebc
commit 3c345d99de
+1 -1
View File
@@ -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, "<span class='warning'>You cannot place [src] in this area!</span>")
return
return TRUE