[Lua] Fix incorrect function name

This commit is contained in:
Celtic Minstrel 2024-02-04 14:27:40 -05:00
parent 1fd17d94ba
commit 8276fd2e4b

View File

@ -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