Fixes Indoor Rain

This commit is contained in:
Neerti
2021-07-12 14:19:59 -04:00
parent 9932e13f6d
commit 6b4ee972dd
11 changed files with 32 additions and 27 deletions

View File

@@ -146,7 +146,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 == OUTDOORS_YES) && (T.z <= SSplanets.z_to_planet.len))
if((T.is_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