Mercurial > wow > recipeprofit
changeset 26:19e007e5eca9 v1.05
Fixed item count so in most cases when an item is not cached the correct count is displayed on the minimap.
| author | Aaron@Aaron-PC |
|---|---|
| date | Sun, 22 Aug 2010 10:22:09 -0500 |
| parents | 399113a204b0 |
| children | 85c7ff88e489 |
| files | core.lua |
| diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core.lua Fri Aug 20 18:21:21 2010 -0500 +++ b/core.lua Sun Aug 22 10:22:09 2010 -0500 @@ -216,6 +216,14 @@ end end + --[[ hook OnProfileChanged to fix cleanup database ]] + local oldFunction2 = GatherMate.OnProfileChanged + + GatherMate.OnProfileChanged = function(lself, ...) + lself.db.profile.cleanupRange["RecipeProfit"] = lself.db.profile.cleanupRange["RecipeProfit"] or 15 + oldFunction2(lself, ...) + end + end
