summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2017-03-24 15:26:55 +0900
committervolzhs <volzhs@gmail.com>2017-03-24 15:26:55 +0900
commitf912bcd943cc394922e751fa02374426652164ff (patch)
tree2b94c6b67bd30537db98fc7fcfd867d8ff343b9d /platform/android
parentefaeebab4d83e5657288b7b20db6ce4ccf987a01 (diff)
Fix wrong name for Android export
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/export/export.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index eeb8c886ca..2342829965 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -2725,7 +2725,7 @@ class EditorExportAndroid : public EditorExportPlatform {
Vector<String> string_table;
- String version_name = p_preset->get("version/name");
+ String package_name = p_preset->get("package/name");
//printf("stirng block len: %i\n",string_block_len);
//printf("stirng count: %i\n",string_count);
@@ -2742,7 +2742,7 @@ class EditorExportAndroid : public EditorExportPlatform {
if (str == "godot-project-name") {
//project name
- str = get_project_name(version_name);
+ str = get_project_name(package_name);
} else {
@@ -2751,7 +2751,7 @@ class EditorExportAndroid : public EditorExportPlatform {
if (GlobalConfig::get_singleton()->has(prop)) {
str = GlobalConfig::get_singleton()->get(prop);
} else {
- str = get_project_name(version_name);
+ str = get_project_name(package_name);
}
}
}