[MIRROR] Fixes lightfixture placement issue (#5225)
* Fixes lightfixture placement issue * Fixes lightfixture placement issue
This commit is contained in:
committed by
Poojawa
parent
450fda474a
commit
dc06d0373c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user