In your XML it should be:
RankPoints.Update()
The XML be loaded after your Lua file, because otherwise the function may not defined the first time been called.
And I don't see a Initialized() function?!?
RankPoints:Initialize() will be called from RankPoints.OnAddOnLoaded already.
|