- FIX to prevent duplicate POI messages (need to check dungeon

vali [07-01-14 - 21:20]
- FIX to prevent duplicate POI messages (need to check dungeon
completion)

- Delete printing reason on getting gold (will always be nil this way)
Filename
Chivato/Chivato.lua
diff --git a/Chivato/Chivato.lua b/Chivato/Chivato.lua
index e4677b9..f2fbf92 100644
--- a/Chivato/Chivato.lua
+++ b/Chivato/Chivato.lua
@@ -16,7 +16,7 @@ local _XPReason = {}
 _XPReason[PROGRESS_REASON_NONE] = "None"  -- do this one happens? I want some !
 _XPReason[PROGRESS_REASON_KILL] = "Kill"
 --_XPReason[PROGRESS_REASON_QUEST] = "Quest"
-_XPReason[PROGRESS_REASON_COMPLETE_POI] = "Complete POI"
+--_XPReason[PROGRESS_REASON_COMPLETE_POI] = "Complete POI"
 --_XPReason[PROGRESS_REASON_DISCOVER_POI] = "Discover POI"
 _XPReason[PROGRESS_REASON_COMMAND] = "Command"
 _XPReason[PROGRESS_REASON_KEEP_REWARD] = "Keep Reward"
@@ -150,7 +150,7 @@ local function OnLootReceived(event, lootedBy, item, count, itemSound, lootType,
 end
 local function OnMoneyUpdate(event, newGold, oldGold, reason)
 	if newGold > oldGold then
-		d(colors.Gray .. "You got " .. newGold - oldGold .. " gold. (" .. _XPReason[reason] .. ")")
+		d(colors.Gray .. "You got " .. newGold - oldGold .. " gold.")
 	elseif newGold < oldGold then
 		d(colors.Gray .. "You spent " .. oldGold - newGold .. " gold.")
 	end