View Single Post
03-25-16, 07:27 PM   #8
MunkDev
A Scalebane Royal Guard
 
MunkDev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 431
Originally Posted by Resike View Post
I'm not sure about that. It should not get triggered for 15 updates.

The only thing i could found is:
https://github.com/seblindfors/Conso...apper.lua#L200

Shouldn't this be %s instead of "%s"?
That's completely unrelated, since this happens when the buttons are created or their actions are changed due to a config update. And nope, I'm formatting a long string and passing another string into it. The resulting snippet looks like this (when id == "shift" for example):

Lua Code:
  1. self:RunAttribute("UpdateState", "shift")
  2. self:CallMethod("UpdateAction")
__________________
  Reply With Quote