From c04d869fc758f519dbba00d08944f25ff6fba712 Mon Sep 17 00:00:00 2001 From: elsid Date: Sun, 16 Jul 2023 17:29:34 +0200 Subject: [PATCH] Pass options to findPath --- scripts/data/integration_tests/test_lua_api/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/data/integration_tests/test_lua_api/player.lua b/scripts/data/integration_tests/test_lua_api/player.lua index 110c24f1ac..9790eb6d37 100644 --- a/scripts/data/integration_tests/test_lua_api/player.lua +++ b/scripts/data/integration_tests/test_lua_api/player.lua @@ -81,7 +81,7 @@ testing.registerLocalTest('findPath', }, destinationTolerance = 1, } - local status, path = nearby.findPath(src, dst) + local status, path = nearby.findPath(src, dst, options) testing.expectEqual(status, nearby.FIND_PATH_STATUS.Success, 'Status') testing.expectLessOrEqual((path[path:size()] - dst):length(), 1, 'Last path point') end)