diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2a1c09..33b687f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: submodules: 'recursive' - name: Build the mod - uses: geode-sdk/build-geode-mod@main + uses: FireMario211/build-geode-mod@main with: build-config: 'RelWithDebInfo' export-pdb: true @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest needs: ['build'] steps: - - uses: geode-sdk/build-geode-mod/combine@main + - uses: FireMario211/build-geode-mod/combine@main id: build - uses: actions/upload-artifact@v4 diff --git a/src/main.cpp b/src/main.cpp index 9811713..3434bfd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -32,10 +32,9 @@ bool firstLoad = false; class $modify(MenuLayer) { bool init() { if (!MenuLayer::init()) return false; + if (firstLoad) return true; HackItem* posX = Hacks::getHack("Button Position X"); HackItem* posY = Hacks::getHack("Button Position Y"); - auto mainMenu = static_cast(this->getChildByID("bottom-menu")); - if (firstLoad) return true; firstLoad = true; log::info("Prism Menu loaded! Enjoy the mod."); #ifndef GEODE_IS_MACOS