aboutsummaryrefslogtreecommitdiff
path: root/modules/mono/editor/godotsharp_editor.cpp
diff options
context:
space:
mode:
authorUnknown2017-10-27 21:22:54 +0200
committerUnknown2017-10-27 21:22:54 +0200
commita2247d45fcc1211937bf5103b1fe575720a1d95e (patch)
tree682feec695b0fabc2715e7e0cb4b7cfe2307b92d /modules/mono/editor/godotsharp_editor.cpp
parent70c3ea5a8274739f0c4ae0377940b303fb83e8bf (diff)
downloadgodot-a2247d45fcc1211937bf5103b1fe575720a1d95e.tar.gz
godot-a2247d45fcc1211937bf5103b1fe575720a1d95e.tar.zst
godot-a2247d45fcc1211937bf5103b1fe575720a1d95e.zip
Diffstat (limited to 'modules/mono/editor/godotsharp_editor.cpp')
-rw-r--r--modules/mono/editor/godotsharp_editor.cpp4
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()) {