mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
Use Lua modules in tests from the source directory
This commit is contained in:
parent
5553b00b84
commit
6d43aedec8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user