Differential D4240 Diff 19682 ps/trunk/binaries/data/mods/public/gui/gamesetup/Controllers/GameSettingsController.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/gamesetup/Controllers/GameSettingsController.js
Show First 20 Lines • Show All 274 Lines • ▼ Show 20 Lines | launchGame() | ||||
// Switch to the loading page right away, | // Switch to the loading page right away, | ||||
// the GUI will otherwise show the unrandomised settings. | // the GUI will otherwise show the unrandomised settings. | ||||
this.switchToLoadingPage(); | this.switchToLoadingPage(); | ||||
} | } | ||||
switchToLoadingPage(attributes) | switchToLoadingPage(attributes) | ||||
{ | { | ||||
Engine.SwitchGuiPage("page_loading.xml", { | Engine.SwitchGuiPage("page_loading.xml", { | ||||
"attribs": attributes?.initAttributes || g_GameSettings.toInitAttributes(), | "attribs": attributes?.initAttributes || g_GameSettings.finalizedAttributes, | ||||
"playerAssignments": g_PlayerAssignments | "playerAssignments": g_PlayerAssignments | ||||
}); | }); | ||||
} | } | ||||
onClose() | onClose() | ||||
{ | { | ||||
this.savePersistentMatchSettings(); | this.savePersistentMatchSettings(); | ||||
} | } | ||||
Show All 14 Lines |
Wildfire Games · Phabricator