Mono: Use "UnnamedProject" if application/config/name is empty

This commit is contained in:
Unknown
2017-10-27 21:22:54 +02:00
parent 70c3ea5a82
commit a2247d45fc
4 changed files with 24 additions and 7 deletions

View File

@ -71,6 +71,10 @@ bool GodotSharpEditor::_create_project_solution() {
String path = OS::get_singleton()->get_resource_dir();
String name = ProjectSettings::get_singleton()->get("application/config/name");
if (name.empty()) {
name = "UnnamedProject";
}
String guid = CSharpProject::generate_game_project(path, name);
if (guid.length()) {