mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user