From 568c333632ac427a2f8aa896439bb5be00df01f3 Mon Sep 17 00:00:00 2001 From: Leshana Date: Mon, 23 Mar 2020 15:48:51 -0400 Subject: [PATCH] Fix: Actually apply configured skybox color. Also set default icon_state for space turfs so they are seen in the map editor. --- code/controllers/subsystems/skybox.dm | 4 ++-- code/game/turfs/space/space.dm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/controllers/subsystems/skybox.dm b/code/controllers/subsystems/skybox.dm index b876c6a2c8..ccf4427d99 100644 --- a/code/controllers/subsystems/skybox.dm +++ b/code/controllers/subsystems/skybox.dm @@ -29,7 +29,7 @@ SUBSYSTEM_DEF(skybox) res.appearance_flags = KEEP_TOGETHER var/image/base = image(settings.icon, settings.icon_state) - //base.color = background_color + base.color = settings.color if(settings.use_stars) var/image/stars = image(settings.icon, settings.star_state) @@ -41,7 +41,7 @@ SUBSYSTEM_DEF(skybox) if(global.using_map.use_overmap && settings.use_overmap_details) var/obj/effect/overmap/visitable/O = map_sectors["[z]"] if(istype(O)) - var/image/overmap = image(settings.icon_state) + var/image/overmap = image(settings.icon) overmap.overlays += O.generate_skybox() for(var/obj/effect/overmap/visitable/other in O.loc) if(other != O) diff --git a/code/game/turfs/space/space.dm b/code/game/turfs/space/space.dm index cf5d512cf5..afdaab404b 100644 --- a/code/game/turfs/space/space.dm +++ b/code/game/turfs/space/space.dm @@ -1,7 +1,7 @@ /turf/space icon = 'icons/turf/space.dmi' name = "\proper space" - icon_state = "0" + icon_state = "default" dynamic_lighting = 0 plane = SPACE_PLANE