mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 22:18:56 +00:00
[Lua] Fix incorrect function name
This commit is contained in:
parent
1fd17d94ba
commit
8276fd2e4b
@ -1431,7 +1431,7 @@ function ai_helper.my_moves()
|
||||
-- [1] = { dst = { x = 7, y = 16 },
|
||||
-- src = { x = 6, y = 16 } }
|
||||
|
||||
local dstsrc = ai.get_dstsrc()
|
||||
local dstsrc = ai.get_dst_src()
|
||||
|
||||
---@type ai_move[]
|
||||
local my_moves = {}
|
||||
@ -1453,7 +1453,7 @@ function ai_helper.enemy_moves()
|
||||
-- [1] = { dst = { x = 7, y = 16 },
|
||||
-- src = { x = 6, y = 16 } }
|
||||
|
||||
local dstsrc = ai.get_enemy_dstsrc()
|
||||
local dstsrc = ai.get_enemy_dst_src()
|
||||
|
||||
local enemy_moves = {}
|
||||
for key,value in pairs(dstsrc) do
|
||||
|
Loading…
x
Reference in New Issue
Block a user