HttT S17: Comply with current Wesnoth Lua API specifications
wesnoth.special_locatioons is deprecated.
Resolves #6517
(cherry picked from commit 47ec300d54
)
This commit is contained in:
parent
b1ff723986
commit
0607f310e9
1 changed files with 1 additions and 1 deletions
|
@ -716,7 +716,7 @@
|
|||
code= <<
|
||||
local ai_helper = wesnoth.require "ai/lua/ai_helper.lua"
|
||||
local delf = wesnoth.units.find_on_map { id = 'Delfador' }[1]
|
||||
local sceptre_loc= wesnoth.special_locations.sceptre
|
||||
local sceptre_loc= wesnoth.current.map.special_locations.sceptre
|
||||
local path = wesnoth.paths.find_path(delf, sceptre_loc[1], sceptre_loc[2], {ignore_units = true, ignore_visibility = true}) -- # wmllint: noconvert
|
||||
_ = wesnoth.textdomain 'wesnoth-httt'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue