Fix annoying skybox bugs

This commit is contained in:
Aronai Sieyes
2021-07-10 17:43:33 -04:00
parent edc62e88fa
commit a2e89aebc6
5 changed files with 22 additions and 14 deletions
+3 -3
View File
@@ -37,12 +37,12 @@
return ..()
//Overlay of how this object should look on other skyboxes
/obj/effect/overmap/proc/get_skybox_representation()
/obj/effect/overmap/proc/get_skybox_representation(zlevel)
if(!cached_skybox_image)
build_skybox_representation()
build_skybox_representation(zlevel)
return cached_skybox_image
/obj/effect/overmap/proc/build_skybox_representation()
/obj/effect/overmap/proc/build_skybox_representation(zlevel)
if(!skybox_icon)
return
var/image/I = image(icon = skybox_icon, icon_state = skybox_icon_state)