mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	Move singleton management from ProjectSettings to Engine
This commit is contained in:
		
							parent
							
								
									3732b2318e
								
							
						
					
					
						commit
						9b7b46143d
					
				
					 25 changed files with 130 additions and 109 deletions
				
			
		|  | @ -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); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Leon Krause
						Leon Krause