Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/common/functions_global_object.js
Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Lines | function cancelOnLoadGameError(msg) | ||||
Engine.EndGame(); | Engine.EndGame(); | ||||
Engine.SwitchGuiPage("page_pregame.xml"); | Engine.SwitchGuiPage("page_pregame.xml"); | ||||
if (msg) | if (msg) | ||||
Engine.PushGuiPage("page_msgbox.xml", { | Engine.PushGuiPage("page_msgbox.xml", { | ||||
"width": 500, | "width": 500, | ||||
"height": 200, | "height": 200, | ||||
"message": '[font="sans-bold-18"]' + msg + '[/font]', | "message": setFont(msg, "sans-bold-18"), | ||||
"title": translate("Loading Aborted"), | "title": translate("Loading Aborted"), | ||||
"mode": 2 | "mode": 2 | ||||
}); | }); | ||||
Engine.ResetCursor(); | Engine.ResetCursor(); | ||||
} | } | ||||
/** | /** | ||||
Show All 12 Lines |
Wildfire Games · Phabricator