diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2cabce8..a13da1c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,13 +18,13 @@ jobs: # - name: macOS # os: macos-latest - - name: Android32 - os: ubuntu-latest - target: Android32 + #- name: Android32 + # os: ubuntu-latest + # target: Android32 - - name: Android64 - os: ubuntu-latest - target: Android64 + #- name: Android64 + # os: ubuntu-latest + # target: Android64 name: ${{ matrix.config.name }} runs-on: ${{ matrix.config.os }} diff --git a/CMakeLists.txt b/CMakeLists.txt index 4cfda27..46d22cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_OSX_ARCHITECTURES "x86_64") set(CMAKE_CXX_VISIBILITY_PRESET hidden) -project(GoldUserCoins VERSION 1.0.0) +project(GoldUserCoins VERSION 1.0.1) add_library(${PROJECT_NAME} SHARED src/main.cpp diff --git a/mod.json b/mod.json index 814ec6b..0b034c6 100644 --- a/mod.json +++ b/mod.json @@ -1,10 +1,9 @@ { "geode": "2.0.0", "gd": "2.204", - "version": "v1.0.0", + "version": "v1.0.1", "id": "colon.gold_user_coins", "name": "Gold User Coins", "developer": "Colon", - "early-load": true, "description": "" } \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 305c43f..fe71003 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,15 +4,15 @@ using namespace geode::prelude; +bool swappedTextures = false; + class $modify(MenuLayer) { - - bool swappedTextures = false; bool init() { MenuLayer::init(); - if (m_fields->swappedTextures) return true; - else m_fields->swappedTextures = true; + if (swappedTextures) return true; + else swappedTextures = true; // swaps all user coin textures with their golden counterparts for (int i = 1; i <= 4; i++) {