Lua dummy engine: do not load debug_ai functions
Besides them being unnecessary, a warning message is otherwise also displayed when external CAs are used and the game is not in debug mode.
This commit is contained in:
parent
e18378369b
commit
8689543d9a
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ return {
|
|||
local my_ai = {}
|
||||
|
||||
local ai_stdlib = wesnoth.require('ai/lua/stdlib.lua')
|
||||
ai_stdlib.init(ai, true)
|
||||
ai_stdlib.init(ai)
|
||||
|
||||
-- Make the ai table available to the eval/exec functions
|
||||
function my_ai:get_ai()
|
||||
|
|
Loading…
Add table
Reference in a new issue