From 901228c3a8f2208227e077472fdc73053672e434 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Tue, 21 Sep 2021 23:19:00 -0500 Subject: [PATCH] kill splashscreen on nonwindows was worth a shot, but it's playing up way too much to focus on at present --- Templates/BaseGame/game/main.tscript.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Templates/BaseGame/game/main.tscript.in b/Templates/BaseGame/game/main.tscript.in index 4e83ff2b2..800e9625a 100644 --- a/Templates/BaseGame/game/main.tscript.in +++ b/Templates/BaseGame/game/main.tscript.in @@ -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..."); \ No newline at end of file