mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
lua: uidocuments sub-environment
This commit is contained in:
parent
4ce46f34bf
commit
e4f7315cc3
9 changed files with 31 additions and 16 deletions
|
|
@ -91,8 +91,8 @@ wstringconsumer scripting::create_wstring_consumer(
|
|||
};
|
||||
}
|
||||
|
||||
std::unique_ptr<Environment> scripting::create_environment() {
|
||||
return std::make_unique<Environment>(state->createEnvironment());
|
||||
std::unique_ptr<Environment> scripting::create_environment(int parent) {
|
||||
return std::make_unique<Environment>(state->createEnvironment(parent));
|
||||
}
|
||||
|
||||
void scripting::on_world_load(Level* level, BlocksController* blocks) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue