lua: uidocuments sub-environment

This commit is contained in:
MihailRis
2024-02-11 23:56:24 +03:00
parent 4ce46f34bf
commit e4f7315cc3
9 changed files with 31 additions and 16 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ namespace scripting {
const std::string& file="<string>"
);
std::unique_ptr<Environment> create_environment();
std::unique_ptr<Environment> create_environment(int parent=0);
void on_world_load(Level* level, BlocksController* blocks);
void on_world_save();