mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 08:32:03 +00:00
Lua AIs: increase deprecation level of old ai/lua/patrol.lua
This commit is contained in:
parent
5fe283d06c
commit
e3b86f5648
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
local _ = wesnoth.textdomain "wesnoth-ai"
|
local _ = wesnoth.textdomain "wesnoth-ai"
|
||||||
|
|
||||||
wesnoth.deprecated_message('data/ai/lua/patrol.lua', 1, nil, _"Use the Patrols Micro AI instead of patrol.lua.")
|
wesnoth.deprecated_message('data/ai/lua/patrol.lua', 3, '1.17.0', _"Use the Patrols Micro AI instead of patrol.lua.")
|
||||||
|
|
||||||
function patrol_gen(n, wp)
|
function patrol_gen(n, wp)
|
||||||
-- n is the name of the unit, like Kiressh
|
-- n is the name of the unit, like Kiressh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user