summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-02-02 17:30:20 +0100
committerGitHub <noreply@github.com>2021-02-02 17:30:20 +0100
commit9e0bdeb5de323f5ec7c21511478a2b2524e70fc3 (patch)
tree0871dd2bd5c7251887f67dc2706f13e4c7f8e2b7 /platform
parent9620c1ce61af88212ed5a245742245be0308e96c (diff)
parent3db04b3bd43afc762164dd225ce0e3044d429448 (diff)
Merge pull request #45665 from naithar/fix/ios-plugin-initialization-4.0
[4.0] [iOS] Earlier plugin initialization
Diffstat (limited to 'platform')
-rw-r--r--platform/iphone/os_iphone.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/iphone/os_iphone.mm b/platform/iphone/os_iphone.mm
index 625cbf178e..51c4da2960 100644
--- a/platform/iphone/os_iphone.mm
+++ b/platform/iphone/os_iphone.mm
@@ -144,8 +144,6 @@ void OSIPhone::deinitialize_modules() {
}
void OSIPhone::set_main_loop(MainLoop *p_main_loop) {
- godot_ios_plugins_initialize();
-
main_loop = p_main_loop;
if (main_loop) {
@@ -179,6 +177,8 @@ bool OSIPhone::iterate() {
}
void OSIPhone::start() {
+ godot_ios_plugins_initialize();
+
Main::start();
if (joypad_iphone) {