mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
A variety of miscellaneous bugfixes
This commit is contained in:
@@ -17,10 +17,10 @@
|
||||
return
|
||||
|
||||
else // They're outside and hopefully on a planet.
|
||||
var/datum/planet/P = SSplanets.z_to_planet[T.z]
|
||||
if(!P)
|
||||
if(!(T.z in SSplanets.z_to_planet) || !(SSplanets.z_to_planet[T.z]))
|
||||
to_chat(usr, span("warning", "You appear to be outside, but not on a planet... Something is wrong."))
|
||||
return
|
||||
var/datum/planet/P = SSplanets.z_to_planet[T.z]
|
||||
|
||||
var/datum/weather_holder/WH = P.weather_holder
|
||||
|
||||
|
||||
Reference in New Issue
Block a user