Browse Source

Merge branch 'alpha40/splashscreenSuppression' into alpha40/SGCleanups2

AzaezelX 3 years ago
parent
commit
3fabbc651f
1 changed files with 7 additions and 2 deletions
  1. 7 2
      Templates/BaseGame/game/main.tscript.in

+ 7 - 2
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...");