From b4bd76b8b02996767798b76cc65dee9ea27f1167 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 7 Dec 2018 08:46:17 +0800 Subject: *misc --- src/lua/jin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lua/jin.cpp') 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 -- cgit v1.1-26-g67d0