mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 15:59:52 +00:00
Fixup wml.all_variables
This commit is contained in:
parent
12f522ada4
commit
5008c72a22
@ -240,7 +240,7 @@ if wesnoth.kernel_type() == "Game Lua Kernel" then
|
||||
__metatable = "WML module",
|
||||
__index = function(self, key)
|
||||
if key == 'all_variables' then
|
||||
return wesnoth.get_all_variables()
|
||||
return wesnoth.get_all_vars()
|
||||
end
|
||||
return rawget(self, key)
|
||||
end,
|
||||
|
Loading…
x
Reference in New Issue
Block a user