Message delay code. Untested. Potentially this will break the addon ;)
Scott King [06-30-15 - 22:38]
Message delay code. Untested. Potentially this will break the addon ;)
diff --git a/PortraitHealth.lua b/PortraitHealth.lua
index 50f966e..db9456d 100755
--- a/PortraitHealth.lua
+++ b/PortraitHealth.lua
@@ -57,7 +57,7 @@ function PH_OnLoad()
SLASH_PH1 = "/ph"; -- Associate /ph with the slash command list entry for PORTRAITHEALTH
end
--- welcome message
+-- new welcome message. attempts to delay the message so it's not lost in the shuffle.
local function onUpdate(self,elapsed)
total = total + elapsed
if total >= 2 then