From 44fba7547e8ee5604f9f70aa88868ddef47f1381 Mon Sep 17 00:00:00 2001 From: Kyle Buller Date: Thu, 20 May 2021 18:02:21 -0500 Subject: [PATCH] Fix currency gains --- Data/PointGains.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Data/PointGains.lua b/Data/PointGains.lua index 1a44b54..ca53eb7 100644 --- a/Data/PointGains.lua +++ b/Data/PointGains.lua @@ -6,6 +6,8 @@ local L = LibStub("AceLocale-3.0"):GetLocale("Parrot") local newDict, newList = Parrot.newDict, Parrot.newList local Deformat = Parrot.Deformat +local GetCurrencyInfo = C_CurrencyInfo and C_CurrencyInfo.GetCurrencyInfo or GetCurrencyInfo + local currentXP = 0 function module:OnEnable()