remove double world.lua run in 'core'
This commit is contained in:
parent
dbc2541604
commit
3933baccd2
@ -208,7 +208,6 @@ void scripting::on_world_load(LevelController* controller) {
|
||||
if (lua::getglobal(L, "__vc_on_world_open")) {
|
||||
lua::call_nothrow(L, 0, 0);
|
||||
}
|
||||
load_script("world.lua", false);
|
||||
|
||||
for (auto& pack : scripting::engine->getContentPacks()) {
|
||||
lua::emit_event(L, pack.id + ":.worldopen");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user