diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-02 17:30:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 17:30:20 +0100 |
commit | 9e0bdeb5de323f5ec7c21511478a2b2524e70fc3 (patch) | |
tree | 0871dd2bd5c7251887f67dc2706f13e4c7f8e2b7 /platform/iphone | |
parent | 9620c1ce61af88212ed5a245742245be0308e96c (diff) | |
parent | 3db04b3bd43afc762164dd225ce0e3044d429448 (diff) |
Merge pull request #45665 from naithar/fix/ios-plugin-initialization-4.0
[4.0] [iOS] Earlier plugin initialization
Diffstat (limited to 'platform/iphone')
-rw-r--r-- | platform/iphone/os_iphone.mm | 4 |
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) { |