diff --git a/changelog.md b/changelog.md index 10559b1..c7a22a6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# 1.5.6 + +- Fixed Force Platformer not showing platformer UI on mobile + # 1.5.5 - Fixed Crashing almost all the time on macOS / iOS diff --git a/mod.json b/mod.json index 3f78982..cd67a82 100644 --- a/mod.json +++ b/mod.json @@ -1,10 +1,11 @@ { "geode": "3.4.0", - "version": "v1.5.5", + "version": "v1.5.6", "gd": { "win": "2.206", "android": "2.206", - "mac": "2.206" + "mac": "2.206", + "ios": "2.206" }, "early-load": true, "id": "thesillydoggo.qolmod", diff --git a/src/Defines/Platform.h b/src/Defines/Platform.h index 7739b74..25a8dac 100644 --- a/src/Defines/Platform.h +++ b/src/Defines/Platform.h @@ -19,5 +19,6 @@ #ifndef GEODE_IS_IOS #define QOLMOD_ALL_MODES_PLATFORMER -#define QOLMOD_NO_SPIDER_DASH -#endif \ No newline at end of file +#endif + +#define QOLMOD_NO_SPIDER_DASH \ No newline at end of file diff --git a/src/Hacks/ForcePlatformer.cpp b/src/Hacks/ForcePlatformer.cpp index 743c348..fc91ce4 100644 --- a/src/Hacks/ForcePlatformer.cpp +++ b/src/Hacks/ForcePlatformer.cpp @@ -16,6 +16,13 @@ class $modify (PlayLayer) if (m_player2) m_player2->togglePlatformerMode(true); + #ifdef GEODE_IS_MOBILE + + if (m_uiLayer) + m_uiLayer->togglePlatformerMode(true); + + #endif + return true; }