Fix deprecation message
This commit is contained in:
parent
0db6ac37c2
commit
e1a79988b4
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ if wesnoth.kernel_type() == "Game Lua Kernel" then
|
|||
local m = wesnoth.current.map
|
||||
return m.playable_width, m.playable_height, m.border_size
|
||||
end)
|
||||
wesnoth.special_locations = wesnoth.deprecate_api('wesnoth.special_locations', 'wesnoth.current.map:special_locations', 1, nil, setmetatable({}, {
|
||||
wesnoth.special_locations = wesnoth.deprecate_api('wesnoth.special_locations', 'wesnoth.current.map.special_locations', 1, nil, setmetatable({}, {
|
||||
__index = function(_, k) return wesnoth.current.map.special_locations[k] end,
|
||||
__newindex = function(_, k, v) wesnoth.current.map.special_locations[k] = v end,
|
||||
__len = function(_)
|
||||
|
|
Loading…
Add table
Reference in a new issue