Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/pregame/SplashscreenHandler.js
Show All 26 Lines | class SplashScreenHandler | ||||
} | } | ||||
openPage() | openPage() | ||||
{ | { | ||||
this.showSplashScreen = false; | this.showSplashScreen = false; | ||||
if (Engine.ConfigDB_GetValue("user", "gui.splashscreen.enable") === "true" || | if (Engine.ConfigDB_GetValue("user", "gui.splashscreen.enable") === "true" || | ||||
Engine.ConfigDB_GetValue("user", "gui.splashscreen.version") < Engine.GetFileMTime("gui/splashscreen/splashscreen.txt")) | Engine.ConfigDB_GetValue("user", "gui.splashscreen.version") < Engine.GetFileMTime("gui/splashscreen/splashscreen.txt")) | ||||
{ | |||||
g_OverlayCounterManager.hide(true); | |||||
Engine.PushGuiPage("page_splashscreen.xml", {}); | Engine.PushGuiPage("page_splashscreen.xml", {}); | ||||
} | } | ||||
} | } | ||||
} |
Wildfire Games · Phabricator