Skip to content

Commit

Permalink
Fix a deprecate_api bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Feb 15, 2021
1 parent b60164b commit 7e699ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lua/core.lua
Expand Up @@ -282,7 +282,7 @@ function wesnoth.deprecate_api(elem_name, replacement, level, version, elem, det
end
local mt = {}
for k,v in pairs(old_mt) do
mt[k] = old_mt[v]
mt[k] = old_mt[k]
end
mt.__index = function(self, key)
if not msg_shown then
Expand Down

0 comments on commit 7e699ca

Please sign in to comment.