Originally Posted by Resike
|
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:
self:RunAttribute("UpdateState", "shift")
self:CallMethod("UpdateAction")