Skip to content

Commit

Permalink
small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
GDColon committed Feb 6, 2024
1 parent d4e24f8 commit 4010b63
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions mod.json
Original file line number Diff line number Diff line change
@@ -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": ""
}
8 changes: 4 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 4010b63

Please sign in to comment.