From 9907bc2032ea575aa3d67a06a2cf02535e7fa9af Mon Sep 17 00:00:00 2001 From: NamelessFairy <40036527+NamelessFairy@users.noreply.github.com> Date: Mon, 6 Feb 2023 19:57:30 +0000 Subject: [PATCH] Fixes belts not updating their overlays when transferring their contents to another storage item. (#73251) ## About The Pull Request When you drag and drop a belt to another storage item it transfers all its contents but retains its overlays. This PR calls update appearance at the end of storage to storage transfers so this shouldn't occur again. ## Why It's Good For The Game Bug fix, belts appearing to have things on them which they don't is bad. ## Changelog :cl: fix: Transferring objects from a belt to another storage object now removes those objects from the belts visuals. /:cl: --- code/datums/storage/storage.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/datums/storage/storage.dm b/code/datums/storage/storage.dm index 0f8c3e5458e..b6d5d253459 100644 --- a/code/datums/storage/storage.dm +++ b/code/datums/storage/storage.dm @@ -736,6 +736,7 @@ GLOBAL_LIST_EMPTY(cached_storage_typecaches) if(to_dump.loc != resolve_location) continue dest_object.atom_storage.attempt_insert(to_dump, user) + resolve_parent.update_appearance() return