From eac3c35bee12be252deb6c41c4a6cc73827e372a Mon Sep 17 00:00:00 2001 From: Niketa Date: Sun, 19 Oct 2014 20:59:40 -0500 Subject: [PATCH] Fixed an issue where it took excessive amounts of time to make an initial scan unless you clicked through the logs manually. --- Core.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Core.lua b/Core.lua index bc2d2e4..130f262 100644 --- a/Core.lua +++ b/Core.lua @@ -470,6 +470,10 @@ end function events:ScanLogs() local self = events + for i = 1, MAX_GUILDBANK_TABS do + QueryGuildBankLog(i) + end + print(addon_prefix .. L["Beginning scan. Do not leave the bank until finished."]) ns.scan_btn:Disable() @@ -537,7 +541,7 @@ events:HookScript("OnEvent", function(self, event, ...) for i = 1, num_transactions do log_table.transactions["Tab " .. query_counter][(num_transactions + 1) - i] = {GetGuildBankTransaction(query_counter, i)} end - + `` QueryGuildBankLog(query_counter) end end -- 1.7.9.5