comparison 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
comparison
equal deleted inserted replaced
209:e35d2bf8f4d6 210:83ff61c8ba46
1424 end 1424 end
1425 return true 1425 return true
1426 end, 1426 end,
1427 [AF.OBJECT] = true, 1427 [AF.OBJECT] = true,
1428 [AF.ZONE] = function() 1428 [AF.ZONE] = function()
1429 if not _G.IsFishingLoot() then
1430 return false
1431 end
1432 current_action.zone_data = UpdateDBEntryLocation("zones", current_action.identifier) 1429 current_action.zone_data = UpdateDBEntryLocation("zones", current_action.identifier)
1433 return true 1430 return _G.IsFishingLoot()
1434 end, 1431 end,
1435 } 1432 }
1436 1433
1437 1434
1438 local LOOT_OPENED_UPDATE_FUNCS = { 1435 local LOOT_OPENED_UPDATE_FUNCS = {