Lua AIs: increase deprecation level of old ai/lua/patrol.lua

This commit is contained in:
mattsc 2018-10-24 19:51:53 -07:00
parent 5fe283d06c
commit e3b86f5648

View file

@ -1,7 +1,7 @@
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)
-- n is the name of the unit, like Kiressh