|
|
@@ -13,14 +13,14 @@ function initClient()
|
|
|
exec( "./connectionToServer." @ $TorqueScriptFileExtension );
|
|
|
exec( "./levelDownload." @ $TorqueScriptFileExtension );
|
|
|
exec( "./levelLoad." @ $TorqueScriptFileExtension );
|
|
|
-
|
|
|
- //load prefs
|
|
|
exec( "data/defaults." @ $TorqueScriptFileExtension );
|
|
|
+
|
|
|
+ moduleExec("initClient");
|
|
|
+
|
|
|
+ //load prefs
|
|
|
%prefPath = getPrefpath();
|
|
|
if ( isFile( %prefPath @ "/clientPrefs." @ $TorqueScriptFileExtension ) )
|
|
|
exec( %prefPath @ "/clientPrefs." @ $TorqueScriptFileExtension );
|
|
|
-
|
|
|
- moduleExec("initClient");
|
|
|
|
|
|
//keybinds stores user custom keybinds generated by the UI module (if installed), this should be the only place this is executed
|
|
|
if(isScriptFile(%prefPath @ "/keybinds." @ $TorqueScriptFileExtension))
|