Skip to content

Commit

Permalink
yay or nay
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Jun 13, 2024
1 parent 5fcd0f0 commit 3b8f549
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<CCMenu*>(this->getChildByID("bottom-menu"));
if (firstLoad) return true;
firstLoad = true;
log::info("Prism Menu loaded! Enjoy the mod.");
#ifndef GEODE_IS_MACOS
Expand Down

0 comments on commit 3b8f549

Please sign in to comment.