diff --git a/src/Client/ClientSetup.h b/src/Client/ClientSetup.h index 8ed73bd..aeeb784 100644 --- a/src/Client/ClientSetup.h +++ b/src/Client/ClientSetup.h @@ -564,6 +564,10 @@ class ClientUtils Client::GetModule("tps-bypass")->setIncompatible("This mod has not yet been ported to ARM Mac"); Client::GetModule("editor-wave-trail")->setIncompatible("This mod has not yet been ported to ARM Mac"); #endif + + #ifndef QOLMOD_ALL_MODES_PLATFORMER + Client::GetModule("all-plat")->setIncompatible("This mod has not yet been ported to 2.206."); + #endif } #pragma endregion diff --git a/src/Defines/Platform.h b/src/Defines/Platform.h index fcf9f09..3d3f19e 100644 --- a/src/Defines/Platform.h +++ b/src/Defines/Platform.h @@ -15,4 +15,8 @@ #ifndef GEODE_IS_ARM_MAC #define QOLMOD_EDITOR_WAVE_TRAIL +#endif + +#ifndef GEODE_IS_IOS +#define QOLMOD_ALL_MODES_PLATFORMER #endif \ No newline at end of file diff --git a/src/Hacks/AllModesPlatformer.cpp b/src/Hacks/AllModesPlatformer.cpp index 7dd7c35..42f9991 100644 --- a/src/Hacks/AllModesPlatformer.cpp +++ b/src/Hacks/AllModesPlatformer.cpp @@ -3,6 +3,8 @@ #include #include "../Client/Client.h" +#ifdef QOLMOD_ALL_MODES_PLATFORMER + using namespace geode::prelude; class $modify (GJBaseGameLayer) @@ -41,4 +43,6 @@ class $modify (GJBaseGameLayer) } QOLMOD_MOD_HOOK("all-plat", "GJBaseGameLayer::collisionCheckObjects") -}; \ No newline at end of file +}; + +#endif \ No newline at end of file