From 9e9fe0b3627150f90cb05b48e2a7fdfde17f3a99 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 12 Sep 2020 01:23:21 +0200 Subject: [PATCH] Fixes tests on master. Maybe. (#742) Co-authored-by: AnturK Co-authored-by: Azarak --- code/modules/asset_cache/asset_list_items.dm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/code/modules/asset_cache/asset_list_items.dm b/code/modules/asset_cache/asset_list_items.dm index 1bf176d0e33..991fa0f2fb0 100644 --- a/code/modules/asset_cache/asset_list_items.dm +++ b/code/modules/asset_cache/asset_list_items.dm @@ -312,31 +312,30 @@ /datum/asset/spritesheet/supplypods/register() for (var/style in 1 to length(GLOB.podstyles)) - var/icon_file = "icons/obj/supplypods.dmi" if (style == STYLE_SEETHROUGH) - Insert("pod_asset[style]", icon(icon_file, "seethrough-icon")) + Insert("pod_asset[style]", icon('icons/obj/supplypods.dmi' , "seethrough-icon")) continue var/base = GLOB.podstyles[style][POD_BASE] if (!base) - Insert("pod_asset[style]", icon(icon_file, "invisible-icon")) + Insert("pod_asset[style]", icon('icons/obj/supplypods.dmi', "invisible-icon")) continue - var/icon/podIcon = icon(icon_file, base) + var/icon/podIcon = icon('icons/obj/supplypods.dmi', base) var/door = GLOB.podstyles[style][POD_DOOR] if (door) door = "[base]_door" - podIcon.Blend(icon(icon_file, door), ICON_OVERLAY) + podIcon.Blend(icon('icons/obj/supplypods.dmi', door), ICON_OVERLAY) var/shape = GLOB.podstyles[style][POD_SHAPE] if (shape == POD_SHAPE_NORML) var/decal = GLOB.podstyles[style][POD_DECAL] if (decal) - podIcon.Blend(icon(icon_file, decal), ICON_OVERLAY) + podIcon.Blend(icon('icons/obj/supplypods.dmi', decal), ICON_OVERLAY) var/glow = GLOB.podstyles[style][POD_GLOW] if (glow) glow = "pod_glow_[glow]" - podIcon.Blend(icon(icon_file, glow), ICON_OVERLAY) + podIcon.Blend(icon('icons/obj/supplypods.dmi', glow), ICON_OVERLAY) Insert("pod_asset[style]", podIcon) return ..() - + // Representative icons for each research design /datum/asset/spritesheet/research_designs name = "design"