mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #6116 from VOREStation/Verkister-patch-13-1
Fixes non-planet zlevel weather runtime cascade
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
. += turf_move_cost
|
||||
|
||||
// Wind makes it easier or harder to move, depending on if you're with or against the wind.
|
||||
if(T.outdoors)
|
||||
if(T.outdoors && (T.z <= SSplanets.z_to_planet.len))
|
||||
var/datum/planet/P = SSplanets.z_to_planet[z]
|
||||
if(P)
|
||||
var/datum/weather_holder/WH = P.weather_holder
|
||||
|
||||
Reference in New Issue
Block a user