From ab66f7e216ed6f4ed252a1659ade4fa0b993c7ae Mon Sep 17 00:00:00 2001 From: Sparky Date: Sun, 23 Jul 2023 16:59:57 +0100 Subject: [PATCH] Overlay fix (#16855) * Fixes item overlays not showing. Fixes #16821. Unnecessary cut_overlays(). * changelog --- code/game/objects/items.dm | 1 - html/changelogs/overlay_fix.yml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/overlay_fix.yml diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index 1ba06c3b5aa..504ff1ac575 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -126,7 +126,6 @@ return ..() /obj/item/update_icon() - cut_overlays() . = ..() if(build_from_parts) add_overlay(overlay_image(icon,"[icon_state]_[worn_overlay]", flags=RESET_COLOR)) //add the overlay w/o coloration of the original sprite diff --git a/html/changelogs/overlay_fix.yml b/html/changelogs/overlay_fix.yml new file mode 100644 index 00000000000..8f3f8bffc06 --- /dev/null +++ b/html/changelogs/overlay_fix.yml @@ -0,0 +1,6 @@ +author: Sparky_hotdog + +delete-after: True + +changes: + - bugfix: "Items with overlays now actually display them initially."