You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
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:
@@ -264,6 +264,7 @@ void EditorSettings::create() {
|
|||||||
|
|
||||||
singleton = Ref<EditorSettings>( memnew( EditorSettings ) );
|
singleton = Ref<EditorSettings>( memnew( EditorSettings ) );
|
||||||
singleton->config_file_path=config_file_path;
|
singleton->config_file_path=config_file_path;
|
||||||
|
singleton->settings_path=config_path+"/"+config_dir;
|
||||||
singleton->_load_defaults();
|
singleton->_load_defaults();
|
||||||
singleton->scan_plugins();
|
singleton->scan_plugins();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user