comparison Main.lua @ 443:cecd877476ff

Fixed naming mistake preventing fishing loot from being recorded in certain cases.
author MMOSimca <MMOSimca@gmail.com>
date Tue, 10 Mar 2015 00:56:01 -0400
parents 2151f136ca5c
children 929d7657e23b
comparison
equal deleted inserted replaced
442:2151f136ca5c 443:cecd877476ff
2083 if #current_loot.list <= 0 then 2083 if #current_loot.list <= 0 then
2084 return 2084 return
2085 end 2085 end
2086 2086
2087 for index = 1, #current_loot.list do 2087 for index = 1, #current_loot.list do
2088 table.insert(current_loot.zone_data[location_token].drops, current_loot.loot_list[index]) 2088 table.insert(current_loot.zone_data[location_token].drops, current_loot.list[index])
2089 end 2089 end
2090 end, 2090 end,
2091 } 2091 }
2092 2092
2093 -- Prevent opening the same loot window multiple times from recording data multiple times. 2093 -- Prevent opening the same loot window multiple times from recording data multiple times.