Skip to content

Commit

Permalink
Currency Trigger: use currency icon in options window
Browse files Browse the repository at this point in the history
  • Loading branch information
jjholleman authored and InfusOnWoW committed Jan 5, 2024
1 parent f4e9382 commit 0dfe88b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WeakAuras/Prototypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10390,6 +10390,10 @@ Private.event_prototypes = {
conditionType = "bool",
},
},
GetNameAndIcon = function(trigger)
local currencyInfo = Private.GetCurrencyInfoForTrigger(trigger)
return currencyInfo and currencyInfo.name, currencyInfo and currencyInfo.iconFileID
end,
automaticrequired = true
},
};
Expand Down

0 comments on commit 0dfe88b

Please sign in to comment.