You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Mark some common project settings as basic
This commit is contained in:
@@ -4863,7 +4863,7 @@ bool EditorNode::has_scenes_in_session() {
|
||||
|
||||
bool EditorNode::ensure_main_scene(bool p_from_native) {
|
||||
pick_main_scene->set_meta("from_native", p_from_native); // Whether from play button or native run.
|
||||
String main_scene = GLOBAL_DEF("application/run/main_scene", "");
|
||||
String main_scene = GLOBAL_DEF_BASIC("application/run/main_scene", "");
|
||||
|
||||
if (main_scene.is_empty()) {
|
||||
current_menu_option = -1;
|
||||
@@ -4929,7 +4929,7 @@ bool EditorNode::is_run_playing() const {
|
||||
String EditorNode::get_run_playing_scene() const {
|
||||
String run_filename = editor_run.get_running_scene();
|
||||
if (run_filename.is_empty() && is_run_playing()) {
|
||||
run_filename = GLOBAL_DEF("application/run/main_scene", ""); // Must be the main scene then.
|
||||
run_filename = GLOBAL_DEF_BASIC("application/run/main_scene", ""); // Must be the main scene then.
|
||||
}
|
||||
|
||||
return run_filename;
|
||||
|
||||
Reference in New Issue
Block a user