diff options
| author | Leon Krause | 2017-11-13 21:46:57 +0100 |
|---|---|---|
| committer | Leon Krause | 2017-11-14 15:15:13 +0100 |
| commit | 9b7b46143d2df7d4f2efcb89ceb5034c7a57e79c (patch) | |
| tree | 8ceadc6a5891c5f3205b0e23d5b7dd6ef3d40e1f /platform/android/godot_android.cpp | |
| parent | 3732b2318e8a4942e8202f1797527220a5ae01a0 (diff) | |
| download | godot-9b7b46143d2df7d4f2efcb89ceb5034c7a57e79c.tar.gz godot-9b7b46143d2df7d4f2efcb89ceb5034c7a57e79c.tar.zst godot-9b7b46143d2df7d4f2efcb89ceb5034c7a57e79c.zip | |
Diffstat (limited to 'platform/android/godot_android.cpp')
| -rw-r--r-- | platform/android/godot_android.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/godot_android.cpp b/platform/android/godot_android.cpp index abe5e3b77..9d056bca7 100644 --- a/platform/android/godot_android.cpp +++ b/platform/android/godot_android.cpp @@ -35,6 +35,7 @@ #include <EGL/egl.h> #include <GLES2/gl2.h> +#include "engine.h" #include "file_access_android.h" #include "main/main.h" #include "os_android.h" @@ -842,7 +843,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_Godot_registerSingleton(JNIEnv s->set_instance(env->NewGlobalRef(p_object)); jni_singletons[singname] = s; - ProjectSettings::get_singleton()->add_singleton(ProjectSettings::Singleton(singname, s)); + Engine::get_singleton()->add_singleton(Engine::Singleton(singname, s)); } static Variant::Type get_jni_type(const String &p_type) { |
