You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix main scene not being saved when set via Play button
Fixes #1134 for real. Also tweaked the engine.cfg template and the preference order when browsing for the main scene.
This commit is contained in:
@@ -1175,6 +1175,8 @@ void EditorNode::_dialog_action(String p_file) {
|
||||
case SETTINGS_PICK_MAIN_SCENE: {
|
||||
|
||||
Globals::get_singleton()->set("application/main_scene",p_file);
|
||||
Globals::get_singleton()->set_persisting("application/main_scene",true);
|
||||
Globals::get_singleton()->save();
|
||||
//would be nice to show the project manager opened with the hilighted field..
|
||||
} break;
|
||||
case FILE_SAVE_OPTIMIZED: {
|
||||
|
||||
Reference in New Issue
Block a user