View Single Post
07/30/14, 10:30 AM   #3
Iyanga
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 183
Originally Posted by mattmillus View Post
Has anyone else noticed such things?
Yes.
Been there, done that.

Lua Code:
  1. function Battlelog.CombatStateChange(eventCode, inCombat)
  2.   if inCombat == true then
  3.     EVENT_MANAGER:RegisterForEvent("Battlelog", EVENT_COMBAT_EVENT, Battlelog.ProcessEvent)
  4.   else
  5.     zo_callLater(Battlelog.UnregisterCombat, 500)
  6.   end    
  7. end
  Reply With Quote