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 4c660ae commit a31465b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lua/core.lua
Expand Up @@ -378,7 +378,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 a31465b

Please sign in to comment.