mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
cleanup
This commit is contained in:
parent
3784b57eed
commit
6c2d10e14b
1 changed files with 0 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue