|
|
@@ -22,8 +22,12 @@ function initClient()
|
|
|
|
|
|
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))
|
|
|
+ exec(%prefPath @ "/keybinds." @ $TorqueScriptFileExtension);
|
|
|
+
|
|
|
// Copy saved script prefs into C++ code.
|
|
|
setDefaultFov( $pref::Player::defaultFov );
|
|
|
setZoomSpeed( $pref::Player::zoomSpeed );
|
|
|
loadModuleMaterials();
|
|
|
-}
|
|
|
+}
|