Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/MenuButtons.js
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | MenuButtons.prototype.Save = class | ||||
onPress() | onPress() | ||||
{ | { | ||||
closeOpenDialogs(); | closeOpenDialogs(); | ||||
this.pauseControl.implicitPause(); | this.pauseControl.implicitPause(); | ||||
Engine.PushGuiPage( | Engine.PushGuiPage( | ||||
"page_loadgame.xml", | "page_loadgame.xml", | ||||
{ "savedGameData": getSavedGameData() }, | { | ||||
"savedGameData": getSavedGameData(), | |||||
"campaignRun": g_CampaignSession ? g_CampaignSession.run.filename : null | |||||
}, | |||||
resumeGame); | resumeGame); | ||||
} | } | ||||
}; | }; | ||||
MenuButtons.prototype.Summary = class | MenuButtons.prototype.Summary = class | ||||
{ | { | ||||
constructor(button, pauseControl) | constructor(button, pauseControl) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator