mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
kill the ap if no valid core directory found.
closes the application if no core module found, ie folks didn't run install, or the project manager failed to pre-copy folders
This commit is contained in:
parent
3e88e2acb8
commit
a6df172b9b
|
|
@ -14,7 +14,8 @@ $appName = "@TORQUE_APP_NAME@";
|
|||
// Load up scripts to initialise subsystems.
|
||||
ModuleDatabase.setModuleExtension("module");
|
||||
ModuleDatabase.scanModules( "core", false );
|
||||
ModuleDatabase.LoadExplicit( "CoreModule" );
|
||||
if (!ModuleDatabase.LoadExplicit( "CoreModule" ))
|
||||
quit();
|
||||
|
||||
// Display a splash window immediately to improve app responsiveness before
|
||||
// engine is initialized and main window created.
|
||||
|
|
|
|||
Loading…
Reference in a new issue