Open dore0062 opened 4 years ago
Describe the bug XML LUA calls cannot call a function from a table.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Lua Scripts & XML UI: If applicable, Lua:
myFunc = {} function myFunc.F() print("F") end
If applicable, XML:
<button onClick="myFunc.F"/>
Known workarounds Don't use tables for functions, or have a function that can take another value and call it from that table.
Additional context Probably an oversight more then a bug.
Describe the bug XML LUA calls cannot call a function from a table.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Lua Scripts & XML UI: If applicable, Lua:
If applicable, XML:
Known workarounds Don't use tables for functions, or have a function that can take another value and call it from that table.
Additional context Probably an oversight more then a bug.