Quantcast
WoWInterface - View Single Post - Need help understanding why loop is not always processing entire table
View Single Post
08-27-21, 01:36 PM   #2
LudiusMaximus
A Frostmaul Preserver
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 285
Hi and welcome!

You could try executing your code after PLAYER_LOGIN like this:

Lua Code:
  1. local startupFrame = CreateFrame("Frame")
  2. startupFrame:RegisterEvent("PLAYER_LOGIN")
  3. startupFrame:SetScript("OnEvent", function()
  4.   -- Your code here.
  5. end)
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote