mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +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
1 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ $appName = "@TORQUE_APP_NAME@";
|
||||||
// Load up scripts to initialise subsystems.
|
// Load up scripts to initialise subsystems.
|
||||||
ModuleDatabase.setModuleExtension("module");
|
ModuleDatabase.setModuleExtension("module");
|
||||||
ModuleDatabase.scanModules( "core", false );
|
ModuleDatabase.scanModules( "core", false );
|
||||||
ModuleDatabase.LoadExplicit( "CoreModule" );
|
if (!ModuleDatabase.LoadExplicit( "CoreModule" ))
|
||||||
|
quit();
|
||||||
|
|
||||||
// Display a splash window immediately to improve app responsiveness before
|
// Display a splash window immediately to improve app responsiveness before
|
||||||
// engine is initialized and main window created.
|
// engine is initialized and main window created.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue