diff Main.lua @ 210:83ff61c8ba46 1.0.34

For the AF.ZONE section of LOOT_OPENED_VERIFY_FUNCS; set zone_data regardless of IsFishingLoot()
author James D. Callahan III <jcallahan@curse.com>
date Mon, 17 Dec 2012 13:44:06 -0600
parents e35d2bf8f4d6
children 3c1623ab71db
line wrap: on
line diff
--- a/Main.lua	Mon Dec 17 10:34:20 2012 -0600
+++ b/Main.lua	Mon Dec 17 13:44:06 2012 -0600
@@ -1426,11 +1426,8 @@
         end,
         [AF.OBJECT] = true,
         [AF.ZONE] = function()
-            if not _G.IsFishingLoot() then
-                return false
-            end
             current_action.zone_data = UpdateDBEntryLocation("zones", current_action.identifier)
-            return true
+            return _G.IsFishingLoot()
         end,
     }