mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
cleanup
This commit is contained in:
parent
3784b57eed
commit
6c2d10e14b
1 changed files with 0 additions and 5 deletions
|
|
@ -135,11 +135,6 @@ std::unique_ptr<GeneratorScript> scripting::load_generator(
|
|||
// Use default (empty) script
|
||||
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>(
|
||||
def,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue