You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Move singleton management from ProjectSettings to Engine
This commit is contained in:
@@ -284,7 +284,6 @@ private:
|
||||
}
|
||||
|
||||
ProjectSettings *current = memnew(ProjectSettings);
|
||||
current->add_singleton(ProjectSettings::Singleton("Current"));
|
||||
|
||||
if (current->setup(dir, "")) {
|
||||
set_message(TTR("Couldn't get project.godot in project path."), MESSAGE_ERROR);
|
||||
@@ -503,7 +502,6 @@ public:
|
||||
name_container->show();
|
||||
|
||||
ProjectSettings *current = memnew(ProjectSettings);
|
||||
current->add_singleton(ProjectSettings::Singleton("Current"));
|
||||
|
||||
if (current->setup(project_path->get_text(), "")) {
|
||||
set_message(TTR("Couldn't get project.godot in the project path."), MESSAGE_ERROR);
|
||||
|
||||
Reference in New Issue
Block a user