Mercurial > wow > kbf
diff KBF.lua @ 49:95dfc062e583
don't try to clear the OOC function queue unless we're actually OOC, duh
author | Chris Mellon <arkanes@gmail.com> |
---|---|
date | Sun, 20 Mar 2011 08:15:24 -0500 |
parents | ae92a56133ad |
children | 7d961c698b71 |
line wrap: on
line diff
--- 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