aboutsummaryrefslogtreecommitdiff
path: root/src/lua/jin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/jin.cpp')
-rw-r--r--src/lua/jin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/jin.cpp b/src/lua/jin.cpp
index b11488b..79a7bf8 100644
--- a/src/lua/jin.cpp
+++ b/src/lua/jin.cpp
@@ -95,8 +95,9 @@ namespace JinEngine
luax_newtable(L);
luax_setfieldstring(L, "cwd", cwd);
luax_setfield(L, -2, "args");
+ Embed::load(L);
luax_clearstack(L);
- JinEngine::Embed::boot(L);
+ Embed::run(L);
}
} // namespace Lua