mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
rename on_content_loading to on_scripts_loading
This commit is contained in:
parent
61625ffe00
commit
89a6747c21
4 changed files with 8 additions and 6 deletions
|
|
@ -497,7 +497,7 @@ void ContentLoader::loadWorldScript(ContentPackRuntime& runtime) {
|
|||
}
|
||||
|
||||
void ContentLoader::loadScripts(Content& content) {
|
||||
scripting::on_content_loading();
|
||||
scripting::on_scripts_loading();
|
||||
load_scripts(content, content.blocks);
|
||||
load_scripts(content, content.items);
|
||||
|
||||
|
|
|
|||
|
|
@ -130,7 +130,9 @@ struct WorldFuncsSet {
|
|||
};
|
||||
|
||||
struct MainFuncsSet {
|
||||
bool oncontentloading;
|
||||
bool oncontentinitialization;
|
||||
bool onscriptsloading;
|
||||
bool oncontentloaded;
|
||||
};
|
||||
|
||||
class ContentPackRuntime {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue