diff --git a/apps/components_tests/lua/test_ui_content.cpp b/apps/components_tests/lua/test_ui_content.cpp index 01a5cdd370..c4f23634ce 100644 --- a/apps/components_tests/lua/test_ui_content.cpp +++ b/apps/components_tests/lua/test_ui_content.cpp @@ -14,7 +14,8 @@ namespace sol::protected_function mNew; LuaUiContentTest() { - mLuaState.addInternalLibSearchPath("resources/lua_libs"); + mLuaState.addInternalLibSearchPath( + std::filesystem::path{ OPENMW_PROJECT_SOURCE_DIR } / "components" / "lua_ui"); mNew = LuaUi::loadContentConstructor(&mLuaState); }