mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
parent
28a4eec9a7
commit
e48c5daddf
113 changed files with 528 additions and 528 deletions
|
@ -56,8 +56,8 @@ Error EditorExportPlatformLinuxBSD::export_project(const Ref<EditorExportPreset>
|
|||
}
|
||||
|
||||
String app_name;
|
||||
if (String(ProjectSettings::get_singleton()->get("application/config/name")) != "") {
|
||||
app_name = String(ProjectSettings::get_singleton()->get("application/config/name"));
|
||||
if (String(GLOBAL_GET("application/config/name")) != "") {
|
||||
app_name = String(GLOBAL_GET("application/config/name"));
|
||||
} else {
|
||||
app_name = "Unnamed";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue