From 8276fd2e4b9a0b4ee063bee5c9327b7f535078b3 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sun, 4 Feb 2024 14:27:40 -0500 Subject: [PATCH] [Lua] Fix incorrect function name --- data/ai/lua/ai_helper.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/ai/lua/ai_helper.lua b/data/ai/lua/ai_helper.lua index d5bc21faaa7..6e00419f538 100644 --- a/data/ai/lua/ai_helper.lua +++ b/data/ai/lua/ai_helper.lua @@ -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