mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Update client.tscript
moved prefs stuff below moduleExec()
This commit is contained in:
parent
5307a09075
commit
b245368fa0
1 changed files with 4 additions and 4 deletions
|
|
@ -13,15 +13,15 @@ function initClient()
|
||||||
exec( "./connectionToServer." @ $TorqueScriptFileExtension );
|
exec( "./connectionToServer." @ $TorqueScriptFileExtension );
|
||||||
exec( "./levelDownload." @ $TorqueScriptFileExtension );
|
exec( "./levelDownload." @ $TorqueScriptFileExtension );
|
||||||
exec( "./levelLoad." @ $TorqueScriptFileExtension );
|
exec( "./levelLoad." @ $TorqueScriptFileExtension );
|
||||||
|
exec( "data/defaults." @ $TorqueScriptFileExtension );
|
||||||
|
|
||||||
|
moduleExec("initClient");
|
||||||
|
|
||||||
//load prefs
|
//load prefs
|
||||||
exec( "data/defaults." @ $TorqueScriptFileExtension );
|
|
||||||
%prefPath = getPrefpath();
|
%prefPath = getPrefpath();
|
||||||
if ( isFile( %prefPath @ "/clientPrefs." @ $TorqueScriptFileExtension ) )
|
if ( isFile( %prefPath @ "/clientPrefs." @ $TorqueScriptFileExtension ) )
|
||||||
exec( %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
|
//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))
|
if(isScriptFile(%prefPath @ "/keybinds." @ $TorqueScriptFileExtension))
|
||||||
exec(%prefPath @ "/keybinds." @ $TorqueScriptFileExtension);
|
exec(%prefPath @ "/keybinds." @ $TorqueScriptFileExtension);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue