Fixes turning off an APC clearing weather sprites

This commit is contained in:
Xhuis
2017-08-05 14:49:45 -04:00
parent 3fe9996c65
commit ff2a7bed78
+8 -1
View File
@@ -338,7 +338,14 @@ GLOBAL_LIST_EMPTY(teleportlocs)
else
icon_state = "blue-red"
else
icon_state = null
var/weather_icon
for(var/V in SSweather.existing_weather)
var/datum/weather/W = V
if(src in W.impacted_areas)
W.update_areas()
weather_icon = TRUE
if(!weather_icon)
icon_state = null
/area/space/updateicon()
icon_state = null