mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
remove pages loader from GUI class
This commit is contained in:
parent
1644751b1a
commit
37350a10be
3 changed files with 1 additions and 18 deletions
|
|
@ -178,7 +178,7 @@ void Engine::initialize(CoreParameters coreParameters) {
|
|||
scripting::initialize(this);
|
||||
|
||||
if (!isHeadless()) {
|
||||
gui->setPageLoader(scripting::create_page_loader());
|
||||
gui->getMenu()->setPageLoader(scripting::create_page_loader());
|
||||
}
|
||||
keepAlive(settings.ui.language.observe([this](auto lang) {
|
||||
langs::setup(lang, paths->resPaths.collectRoots());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue