mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Fixes lightfixture placement issue
This commit is contained in:
@@ -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