Originally Posted by AlbinoPython
You might try changing
Code:
EM:RegisterForUpdate(STT.name.."Update", STT.savedVars.updateInterval, STT.Countdown)
with this
Code:
EM:RegisterForUpdate(STT.name.."Update", STT.savedVars.updateInterval, function() STT.Countdown() end)
|
Edit: Thanks by the way for how much progress you helped with. Minor changes but it did help. I'm curious about this error as I have recently started learning Lua and am trying to understand these errors.
That did correct part of it, but now it generates this error:
user:/AddOns/StoneTracker/StoneTracker.lua:45: function expected instead of nil
stack traceback:
user:/AddOns/StoneTracker/StoneTracker.lua:45: in function '(anonymous)'