mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 19:57:44 +00:00
Shouldn't have the same __metatable for two metatables
This commit is contained in:
parent
5134033e30
commit
4b58a52140
@ -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…
x
Reference in New Issue
Block a user