diff options
author | chai <chaifix@163.com> | 2018-12-07 08:46:17 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-07 08:46:17 +0800 |
commit | b4bd76b8b02996767798b76cc65dee9ea27f1167 (patch) | |
tree | d20e1b31032b4908b95b2e0d0612ae1ad18d19ee /src/lua/jin.cpp | |
parent | afc5ebdeece428d4ef72f4f1f4b178a92d1b9cba (diff) |
*misc
Diffstat (limited to 'src/lua/jin.cpp')
-rw-r--r-- | src/lua/jin.cpp | 3 |
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 |