Fix per-zlevel skyboxes not really allowing custom ones

It's not going to break the world to remove this 'assumption' cache
This commit is contained in:
Aronai Sieyes
2020-04-06 12:08:33 -04:00
parent 351b9e8c5e
commit abd28b5d6d
2 changed files with 3 additions and 9 deletions

View File

@@ -68,11 +68,6 @@ SUBSYSTEM_DEF(skybox)
/datum/controller/subsystem/skybox/proc/get_skybox(z)
if(!skybox_cache["[z]"])
skybox_cache["[z]"] = generate_skybox(z)
if(global.using_map.use_overmap)
var/obj/effect/overmap/visitable/O = map_sectors["[z]"]
if(istype(O))
for(var/zlevel in O.map_z)
skybox_cache["[zlevel]"] = skybox_cache["[z]"]
return skybox_cache["[z]"]
/datum/controller/subsystem/skybox/proc/generate_skybox(z)