diff --git a/Templates/BaseGame/game/core/clientServer/scripts/client/client.tscript b/Templates/BaseGame/game/core/clientServer/scripts/client/client.tscript index 55fcc3b99..d13eab89f 100644 --- a/Templates/BaseGame/game/core/clientServer/scripts/client/client.tscript +++ b/Templates/BaseGame/game/core/clientServer/scripts/client/client.tscript @@ -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(); -} \ No newline at end of file +}