mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Merge pull request #2180 from John3/checkToolBuild
add a check for toolbuild
This commit is contained in:
commit
c4247b5b24
1 changed files with 5 additions and 2 deletions
|
|
@ -42,8 +42,11 @@ setNetPort(0);
|
||||||
startFileChangeNotifications();
|
startFileChangeNotifications();
|
||||||
|
|
||||||
// If we have editors, initialize them here as well
|
// If we have editors, initialize them here as well
|
||||||
if(isFile("tools/main.cs") && !$isDedicated)
|
if (isToolBuild())
|
||||||
exec("tools/main.cs");
|
{
|
||||||
|
if(isFile("tools/main.cs") && !$isDedicated)
|
||||||
|
exec("tools/main.cs");
|
||||||
|
}
|
||||||
|
|
||||||
ModuleDatabase.setModuleExtension("module");
|
ModuleDatabase.setModuleExtension("module");
|
||||||
ModuleDatabase.scanModules( "data", false );
|
ModuleDatabase.scanModules( "data", false );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue