diff options
author | kobewi <kobewi4e@gmail.com> | 2022-10-18 16:43:37 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-10-18 19:01:48 +0200 |
commit | e48c5daddfa70172c0eab57b8045a7087eec6e2c (patch) | |
tree | 249fa2203570136d3a2040ad612e6e86a516cd5f /platform/android/java_godot_lib_jni.cpp | |
parent | 28a4eec9a77bc797b7147be2453cdbe85cf47d7f (diff) |
Unify usage of GLOBAL/EDITOR_GET
Diffstat (limited to 'platform/android/java_godot_lib_jni.cpp')
-rw-r--r-- | platform/android/java_godot_lib_jni.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/java_godot_lib_jni.cpp b/platform/android/java_godot_lib_jni.cpp index 04b69d5b86..84860fb35d 100644 --- a/platform/android/java_godot_lib_jni.cpp +++ b/platform/android/java_godot_lib_jni.cpp @@ -409,7 +409,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_focusout(JNIEnv *env, JNIEXPORT jstring JNICALL Java_org_godotengine_godot_GodotLib_getGlobal(JNIEnv *env, jclass clazz, jstring path) { String js = jstring_to_string(path, env); - return env->NewStringUTF(ProjectSettings::get_singleton()->get(js).operator String().utf8().get_data()); + return env->NewStringUTF(GLOBAL_GET(js).operator String().utf8().get_data()); } JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_callobject(JNIEnv *env, jclass clazz, jlong ID, jstring method, jobjectArray params) { |