Fix ChangeTurf permanently making obscured areas obscured for the AI

This commit is contained in:
monster860
2016-07-28 22:51:22 -04:00
committed by GitHub
parent d12d78871d
commit d575f48e20
+3
View File
@@ -166,6 +166,7 @@
var/list/old_affecting_lights = affecting_lights
var/old_lighting_overlay = lighting_overlay
var/old_blueprint_data = blueprint_data
var/old_obscured = obscured
if(air_master)
air_master.remove_from_active(src)
@@ -188,6 +189,8 @@
lighting_build_overlays()
else
lighting_clear_overlays()
obscured = old_obscured
return W