From ce8e1fef81ed0cdbeabe3d1833678aa936201522 Mon Sep 17 00:00:00 2001 From: Roxy <75404941+TealSeer@users.noreply.github.com> Date: Wed, 28 May 2025 02:32:23 -0400 Subject: [PATCH] Fix GAGS loadout item recolors not showing in char preview with place all in case pref (#3917) ## About The Pull Request Since when previewing your character it doesn't actually put the loadout items in a case it needs to be searching in the mob like normal ## Why It's Good For The Game Fixes #3860 ## Proof Of Testing Tested it before and after with all 3 loadout pref options ## Changelog :cl: fix: fixed GAGS modifications to loadout items not showing in preview when using place all in case pref /:cl: --- code/modules/loadout/loadout_helpers.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/loadout/loadout_helpers.dm b/code/modules/loadout/loadout_helpers.dm index fc1bd099684..3ed5bdec4b7 100644 --- a/code/modules/loadout/loadout_helpers.dm +++ b/code/modules/loadout/loadout_helpers.dm @@ -81,7 +81,7 @@ var/update = NONE for(var/datum/loadout_item/item as anything in loadout_datums) update |= item.on_equip_item( - equipped_item = loadout_placement_preference == LOADOUT_OVERRIDE_CASE ? locate(item.item_path) in travel_suitcase : locate(item.item_path) in new_contents, // BUBBER EDIT CHANGE - ORIGINAL: equipped_item = locate(item.item_path) in new_contents, + equipped_item = (loadout_placement_preference == LOADOUT_OVERRIDE_CASE && !visuals_only) ? locate(item.item_path) in travel_suitcase : locate(item.item_path) in new_contents, // BUBBER EDIT CHANGE - ORIGINAL: equipped_item = locate(item.item_path) in new_contents, preference_source = preference_source, preference_list = preference_list, equipper = src,