Shouldn't have the same __metatable for two metatables
This commit is contained in:
parent
5134033e30
commit
4b58a52140
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ if wesnoth.kernel_type() == "Game Lua Kernel" then
|
|||
end
|
||||
|
||||
local root_variable_mt = {
|
||||
__metatable = "WML variables",
|
||||
__metatable = "WML variables proxy",
|
||||
__index = function(t, k) return get_variable_proxy(k) end,
|
||||
__newindex = function(t, k, v)
|
||||
if type(v) == "function" then
|
||||
|
|
Loading…
Add table
Reference in a new issue