Set settings directory variable when loading settings fails

This makes export work when you are first running godot for your user.
This commit is contained in:
est31 2015-04-29 01:36:46 +02:00
parent bc3c14a76b
commit 1268e65aa5

View file

@ -264,6 +264,7 @@ void EditorSettings::create() {
singleton = Ref<EditorSettings>( memnew( EditorSettings ) );
singleton->config_file_path=config_file_path;
singleton->settings_path=config_path+"/"+config_dir;
singleton->_load_defaults();
singleton->scan_plugins();