summaryrefslogtreecommitdiff
path: root/Editor/EditorMain.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-19 02:23:59 +0800
committerchai <chaifix@163.com>2021-10-19 02:23:59 +0800
commitfcf4863bcd44ef3fa39ff097f5e058267deb9819 (patch)
tree609dc68c966744bd343a3bd312b4720ab43eb1ed /Editor/EditorMain.cpp
parent8446078851f5430e8315d6618d8d5dd9d6e3d1ab (diff)
*comment
Diffstat (limited to 'Editor/EditorMain.cpp')
-rw-r--r--Editor/EditorMain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Editor/EditorMain.cpp b/Editor/EditorMain.cpp
index 5e0cf99..1fdf726 100644
--- a/Editor/EditorMain.cpp
+++ b/Editor/EditorMain.cpp
@@ -32,7 +32,7 @@ void InitLuaState()
std::string workingDir = Win::GetCurrentWorkingDirectory();
Win::SetDllSearchDirectory(workingDir);
- // set cpath
+ // set search path
state.DoString(R"(package.path=package.path .. ";" .. ".\\Libraries\\?.lua")");
state.DoString(R"(package.cpath=package.cpath .. ";" .. ".\\Libraries\\?.dll")");