if v2 doesn't exist, don't erroneously set keyboardUserExists to true.

celladd
Digmaster 10 years ago committed by scrawl
parent 5d77ebdc60
commit 464bbe4d6f

@ -376,7 +376,7 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings)
if(!keybinderUserExists)
{
boost::filesystem::copy_file(mCfgMgr.getUserConfigPath() / "input_v2.xml", mCfgMgr.getUserConfigPath() / "input_v3.xml");
keybinderUserExists=true;
keybinderUserExists = boost::filesystem::exists(keybinderUser);
}
// find correct path to the game controller bindings

Loading…
Cancel
Save