Quantcast

Fix an error that can occur due to a bad copy/pasta from WatchFrame

James Whitehead II [03-29-10 - 22:17]
Fix an error that can occur due to a bad copy/pasta from WatchFrame
Filename
TomTom_POIIntegration.lua
diff --git a/TomTom_POIIntegration.lua b/TomTom_POIIntegration.lua
index 325476b..3617085 100644
--- a/TomTom_POIIntegration.lua
+++ b/TomTom_POIIntegration.lua
@@ -106,6 +106,7 @@ local function updateClosestPOI()
     local questIndex = GetQuestIndexForWatch(1);
     if ( questIndex ) then
         local title, level, questTag, suggestedGroup, isHeader, isCollapsed, isComplete, isDaily, questID = GetQuestLogTitle(questIndex);
+        local playerMoney = GetMoney();
         local requiredMoney = GetQuestLogRequiredMoney(questIndex);
         numObjectives = GetNumQuestLeaderBoards(questIndex);
         if ( isComplete and isComplete < 0 ) then