[MIRROR] Fixes lightfixture placement issue (#5225)

* Fixes lightfixture placement issue

* Fixes lightfixture placement issue
This commit is contained in:
CitadelStationBot
2018-02-04 22:06:22 -06:00
committed by Poojawa
parent 450fda474a
commit dc06d0373c
+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