diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-11-25 01:45:33 -0600 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-11-25 03:08:05 -0600 |
commit | 9851d3c5b2a5f4c20850a821c2ab17a34b2544c5 (patch) | |
tree | 222db9ee606d0c7257b943b85deea79cef801d83 /modules/mono | |
parent | dd10213d6ed24e834fc6f7ee8c16b9b84840c368 (diff) |
Move logic for saving project features to ProjectSettings save_custom
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/csharp_script.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 544f2a7584..0ceb45d425 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -788,11 +788,7 @@ bool CSharpLanguage::is_assembly_reloading_needed() { GDMonoAssembly *proj_assembly = gdmono->get_project_assembly(); - String appname = ProjectSettings::get_singleton()->get("application/config/name"); - String appname_safe = OS::get_singleton()->get_safe_dir_name(appname); - if (appname_safe.is_empty()) { - appname_safe = "UnnamedProject"; - } + String appname_safe = ProjectSettings::get_singleton()->get_safe_project_name(); appname_safe += ".dll"; |