diff --git a/src/main.cpp b/src/main.cpp index d2c4ff0..ec4921d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -136,7 +136,7 @@ enum state { class recordSystem { public: - bool android = isAndroid; + bool android = false; state state = off; size_t currentAction = 0; std::vector macro; @@ -1337,6 +1337,7 @@ class $modify(CCKeyboardDispatcher) { if (!isAndroid) Mod::get()->hook(reinterpret_cast(base::get() + 0x1BD240), &GJBaseGameLayerProcessCommands, "GJBaseGameLayer::processCommands", tulip::hook::TulipConvention::Thiscall); else { + recorder.android = true; if (sizeof(void*) == 8) { offset = 0x3B8; }