diff location_cache.lua @ 24:bc8c0631172b v1.04

Count of items in inventory shown on minimap, colors changed to match.
author Aaron@Aaron-PC
date Fri, 20 Aug 2010 18:21:01 -0500
parents 1da3cd643786
children 0ea3ff6465de
line wrap: on
line diff
--- a/location_cache.lua	Thu Aug 19 18:04:18 2010 -0500
+++ b/location_cache.lua	Fri Aug 20 18:21:01 2010 -0500
@@ -94,10 +94,12 @@
 --[[
     Overwrites RECIPEPROFIT_alliance and RECIPEPROFIT_horde dbs.
 ]]
-for _, note in pairs(RECIPEPROFIT_alliance) do
-    fix_coords(note, RECIPEPROFIT_location_cache)
+do
+    for _, note in pairs(RECIPEPROFIT_alliance) do
+        fix_coords(note, RECIPEPROFIT_location_cache)
+    end
+
+    for _, note in pairs(RECIPEPROFIT_horde) do
+        fix_coords(note, RECIPEPROFIT_location_cache)
+    end
 end
-
-for _, note in pairs(RECIPEPROFIT_horde) do
-    fix_coords(note, RECIPEPROFIT_location_cache)
-end