# HG changeset patch # User Chris Mellon # Date 1300626924 18000 # Node ID 95dfc062e583d587ebc7665b84580034a913af5f # Parent ae92a56133ad3109cdf8c2796a31fba3d94ec40a don't try to clear the OOC function queue unless we're actually OOC, duh diff -r ae92a56133ad -r 95dfc062e583 KBF.lua --- a/KBF.lua Sat Mar 12 18:21:02 2011 -0600 +++ b/KBF.lua Sun Mar 20 08:15:24 2011 -0500 @@ -92,7 +92,8 @@ self.pollForUnitChange = nil end - while #self.oocQueue > 0 do + -- TODO: only start this polling when we leave combat? + while #self.oocQueue > 0 and not InCombatLockdown() do func = table.remove(self.oocQueue) func() end