Mono: Use "UnnamedProject" if application/config/name is empty
This commit is contained in:
parent
70c3ea5a82
commit
a2247d45fc
4 changed files with 24 additions and 7 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue