Merge pull request #8026 from PJB3005/changeturf-light-removal-fix

Fix changeturf not properly destroying own lights.
This commit is contained in:
Crazy Lemon
2017-09-02 19:05:07 -07:00
committed by GitHub
+1
View File
@@ -157,6 +157,7 @@
return
if(!use_preloader && path == type) // Don't no-op if the map loader requires it to be reconstructed
return src
set_light(0)
var/old_opacity = opacity
var/old_dynamic_lighting = dynamic_lighting
var/old_affecting_lights = affecting_lights