Merge pull request #588 from Azaezel/alpha40/splashscreenSuppression

kill splashscreen on nonwindows
This commit is contained in:
Brian Roberts 2021-09-23 20:57:10 -05:00 committed by GitHub
commit 2e153e43e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,9 +19,14 @@ ModuleDatabase.LoadExplicit( "CoreModule" );
// Display a splash window immediately to improve app responsiveness before
// engine is initialized and main window created.
if ($Server::Dedicated == false)
displaySplashWindow($Core::splashWindowImage);
{
if ($platform $= "windows")
displaySplashWindow($Core::splashWindowImage);
}
else
{
$Video::forceDisplayAdapter = -1;
}
//-----------------------------------------------------------------------------
// Load any gameplay modules
@ -45,7 +50,7 @@ else
}
}
if ($Server::Dedicated == false)
if ( ($Server::Dedicated == false) && ($platform $= "windows") )
closeSplashWindow();
echo("Engine initialized...");