cleanup
This commit is contained in:
parent
3784b57eed
commit
6c2d10e14b
@ -136,11 +136,6 @@ std::unique_ptr<GeneratorScript> scripting::load_generator(
|
|||||||
lua::pop(L, lua::execute(lua::get_main_thread(), *env, "", "<empty>"));
|
lua::pop(L, lua::execute(lua::get_main_thread(), *env, "", "<empty>"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
lua::pushenv(L, *env);
|
|
||||||
auto root = lua::tovalue(L, -1);
|
|
||||||
lua::pop(L);
|
|
||||||
|
|
||||||
return std::make_unique<LuaGeneratorScript>(
|
return std::make_unique<LuaGeneratorScript>(
|
||||||
def,
|
def,
|
||||||
std::move(env)
|
std::move(env)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user