View Single Post
11-10-14, 11:11 AM   #7
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Now move the actual query (Lines 1-4) into your update function.
Your values are only computed once now. You want the values queried everytime your update is triggered.
And make sure they're available, too for your OnEnter-Function.
__________________
The cataclysm broke the world ... and the pandas could not fix it!

Last edited by Rilgamon : 11-10-14 at 11:15 AM.
  Reply With Quote