summaryrefslogtreecommitdiff
path: root/Editor/EditorMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/EditorMain.cpp')
-rw-r--r--Editor/EditorMain.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/Editor/EditorMain.cpp b/Editor/EditorMain.cpp
index 88f7513..182a2c4 100644
--- a/Editor/EditorMain.cpp
+++ b/Editor/EditorMain.cpp
@@ -31,11 +31,8 @@ void InitLuaState()
std::string workingDir = Win::GetCurrentWorkingDirectory();
Win::SetDllSearchDirectory(workingDir);
- // set search path
- state.DoString(R"(package.path=package.path .. ";" .. ".\\Libraries\\?.lua")");
- state.DoString(R"(package.cpath=package.cpath .. ";" .. ".\\Libraries\\?.dll")");
-
- state.DoFile(".\\Scripts\\EditorApplication.lua", ErrorHandle);
+ state.DoFile("./boot.lua", ErrorHandle);
+ state.DoFile("./Scripts/EditorApplication.lua", ErrorHandle);
}
#ifdef GAMELAB_DEBUG