mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
fix: commands repository not reset before world open
This commit is contained in:
parent
9ed80ec835
commit
1a00a91b60
3 changed files with 11 additions and 1 deletions
|
|
@ -362,6 +362,7 @@ void Engine::loadContent() {
|
|||
load_configs(pack.folder);
|
||||
}
|
||||
content = contentBuilder.build();
|
||||
interpreter->reset();
|
||||
scripting::on_content_load(content.get());
|
||||
|
||||
ContentLoader::loadScripts(*content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue