Fixes nested lights not working properly

This commit is contained in:
MrStonedOne
2017-05-08 14:16:46 -07:00
parent ac3cfcb4b1
commit 52b98599de

View File

@@ -238,6 +238,11 @@
pixel_turf = P
update = TRUE
if (!isturf(source_turf))
if (applied)
remove_lum()
return
if (light_range && light_power && !applied)
update = TRUE