diff options
| author | Rémi Verschelde | 2017-10-28 11:35:15 +0200 |
|---|---|---|
| committer | GitHub | 2017-10-28 11:35:15 +0200 |
| commit | 87dbb716d9c99b03755cf2f875d6cdba51f8d356 (patch) | |
| tree | ff10f300e29e8c9ad0bf548a90b38b2c35bd2e3b /modules/mono/editor/godotsharp_editor.cpp | |
| parent | 44d4898a64b8590f8746313da000b204f628e275 (diff) | |
| parent | a2247d45fcc1211937bf5103b1fe575720a1d95e (diff) | |
| download | godot-87dbb716d9c99b03755cf2f875d6cdba51f8d356.tar.gz godot-87dbb716d9c99b03755cf2f875d6cdba51f8d356.tar.zst godot-87dbb716d9c99b03755cf2f875d6cdba51f8d356.zip | |
Diffstat (limited to 'modules/mono/editor/godotsharp_editor.cpp')
| -rw-r--r-- | modules/mono/editor/godotsharp_editor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mono/editor/godotsharp_editor.cpp b/modules/mono/editor/godotsharp_editor.cpp index 30e765325..ebfbdafea 100644 --- a/modules/mono/editor/godotsharp_editor.cpp +++ b/modules/mono/editor/godotsharp_editor.cpp @@ -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()) { |
