1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:53:52 +00:00

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

This commit is contained in:
Digmaster 2015-01-25 01:11:21 -06:00 committed by scrawl
parent 5d77ebdc60
commit 464bbe4d6f

View file

@ -376,7 +376,7 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings)
if(!keybinderUserExists) if(!keybinderUserExists)
{ {
boost::filesystem::copy_file(mCfgMgr.getUserConfigPath() / "input_v2.xml", mCfgMgr.getUserConfigPath() / "input_v3.xml"); 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 // find correct path to the game controller bindings