Fixup wml.all_variables

This commit is contained in:
Celtic Minstrel 2018-03-18 01:38:39 -04:00 committed by GitHub
parent 12f522ada4
commit 5008c72a22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,