fix staff of storms not disabling current storms (#10961)

* probably fixes the staff of storms

* uses get_weather here

* Update weather.dm
This commit is contained in:
Theos
2021-02-06 07:48:43 -05:00
committed by GitHub
parent 171f6d67bc
commit e8b5fbd160
2 changed files with 2 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ SUBSYSTEM_DEF(weather)
var/datum/weather/A
for(var/V in processing)
var/datum/weather/W = V
if((z in W.impacted_z_levels) && W.area_type == active_area.type)
if((z in W.impacted_z_levels) && istype(active_area.type, W.area_type))
A = W
break
return A