mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Remove Engine.SwitchGuiPage from autostart
This commit is contained in:
parent
5b5a7f9dc8
commit
02a4cf6aff
1 changed files with 8 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
function init(initData)
|
||||
async function init(initData)
|
||||
{
|
||||
// This doesn't use the autostart/ folder as those are intended for CLI commands and the duplication isn't big enough.
|
||||
|
||||
|
|
@ -8,8 +8,11 @@ function init(initData)
|
|||
|
||||
settings.launchGame(initData.playerAssignments, initData.storeReplay);
|
||||
|
||||
Engine.SwitchGuiPage("page_loading.xml", {
|
||||
"attribs": settings.finalizedAttributes,
|
||||
"playerAssignments": initData.playerAssignments
|
||||
});
|
||||
return { [Engine.openRequest]: {
|
||||
"page": "page_loading.xml",
|
||||
"argument": {
|
||||
"attribs": settings.finalizedAttributes,
|
||||
"playerAssignments": initData.playerAssignments
|
||||
}
|
||||
} };
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue