h4lfheart / FortnitePorting

Automation of the Fortnite Porting Process
GNU General Public License v3.0
250 stars 45 forks source link

fix: Asset icon access order #74

Closed va1729 closed 1 month ago

va1729 commented 2 months ago

Follow up for #72. If it first accesses the one from hero definition for Character_CattleJar - Meowtooth, the icon is T_Placeholder_Item_Outfit-S whereas the actual icon is T_Soldier_CattleJar. Similar issue with Nix Scarlet and few others.

So changed the order to

  1. Get the icon from default method.
  2. If not found, try to get from SmallPreviewImage and LargePreviewImage.
  3. If not found, try to get from hero definition.
h4lfheart commented 1 month ago

will merge but this seems to be the way I wrote it in v3 so it wont need to be transferred