Fix shuttles not updating skybox

This commit is contained in:
Aronai Sieyes
2020-04-14 17:05:16 -04:00
parent c5b3be0123
commit 31f7f5b256
2 changed files with 9 additions and 12 deletions

View File

@@ -109,7 +109,11 @@ SUBSYSTEM_DEF(skybox)
skybox_cache["[z]"] = generate_skybox(z)
for(var/client/C)
C.update_skybox(1)
var/their_z = get_z(C.mob)
if(!their_z) //Nullspace
continue
if(their_z in zlevels)
C.update_skybox(1)
// Settings datum that maps can override to play with their skyboxes
/datum/skybox_settings