View Single Post
08-02-13, 10:35 PM   #19
Niketa
A Wyrmkin Dreamwalker
 
Niketa's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2013
Posts: 54
Actually he's right. The code he quoted was his correction. I had the mammoths defined *inside* the loop, meaning for each mount I kept defining the mammoths, not for each COMPANION_UPDATE. I've fixed that. Also the COMPANION_UPDATE should only ever run once when logging in... and that same code only ever gets run again on PLAYER_ENTERING_WORLD so really it shouldn't be happening all that often.

Btw, just want to say thank you all for the help. There aren't any real good tutorials for lua/WoW addons so having you guys here is very helpful. Hopefully eventually I'll start thinking of these things so you guys don't have to tell me. ><
  Reply With Quote