mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Fix ChangeTurf permanently making obscured areas obscured for the AI
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user