mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
remove double world.lua run in 'core'
This commit is contained in:
parent
dbc2541604
commit
3933baccd2
1 changed files with 0 additions and 1 deletions
|
|
@ -208,7 +208,6 @@ void scripting::on_world_load(LevelController* controller) {
|
||||||
if (lua::getglobal(L, "__vc_on_world_open")) {
|
if (lua::getglobal(L, "__vc_on_world_open")) {
|
||||||
lua::call_nothrow(L, 0, 0);
|
lua::call_nothrow(L, 0, 0);
|
||||||
}
|
}
|
||||||
load_script("world.lua", false);
|
|
||||||
|
|
||||||
for (auto& pack : scripting::engine->getContentPacks()) {
|
for (auto& pack : scripting::engine->getContentPacks()) {
|
||||||
lua::emit_event(L, pack.id + ":.worldopen");
|
lua::emit_event(L, pack.id + ":.worldopen");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue