Forum: Lua/XML Help
11-22-20, 05:47 PM
|
Replies: 8
Views: 7,291
I'd honestly convert it to a loop.
function...
I'd honestly convert it to a loop.
function BattleDex.RecordBattle()
if not C_PetBattles.IsWildBattle() then return; end
local primary=0;
for i=1,C_PetBattles.GetNumPets(2) do
local...
|
Forum: Lua/XML Help
11-21-20, 11:46 PM
|
Replies: 8
Views: 7,291
|
Forum: Lua/XML Help
11-21-20, 09:00 PM
|
Replies: 8
Views: 7,291
SavedVars should be ready by the time...
SavedVars should be ready by the time ADDON_LOADED fires. It's part of the addon loading process. The error isn't complaining about the table itself being nil, there's a different error for that. The...
|