Skip to content

Commit

Permalink
remember this now
Browse files Browse the repository at this point in the history
  • Loading branch information
OmgRod committed Nov 10, 2024
1 parent 2723d68 commit eb955dc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# v2.2.2

- Updated to Geode v4.0.0 (GD 2.2073)

# v2.1.2

- Fixed fatal error

# v2.1.1

- Added support for Geodify mod
Expand Down
11 changes: 6 additions & 5 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"geode": "3.3.1",
"version": "v2.1.2",
"geode": "4.0.0",
"version": "v2.2.2",
"gd": {
"win": "2.206",
"android": "2.206"
"win": "2.2073",
"android": "2.2073"
},
"resources": {
"sprites": [
"res/sprites/*.png"
"res/sprites/*.png",
"about-assets/*.png"
],
"files": [
"res/videos/*"
Expand Down
5 changes: 3 additions & 2 deletions src/IconHack.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#include <Geode/Geode.hpp>
#include <Geode/modify/GameManager.hpp>
#include "../../hacks.hpp"

using namespace geode::prelude;

class $modify(GameManager) {
bool isIconUnlocked(int _id, IconType _type) {
if (Mod::get()->getSettingValue<bool>("icon-hack")) {
if (hacks::getInstance().isHackEnabled("icon-hack")) {
if (GameManager::isIconUnlocked(_id, _type)) return true;
if (_id <= 0) return false;
return true;
Expand All @@ -16,7 +17,7 @@ class $modify(GameManager) {
}

bool isColorUnlocked(int _id, UnlockType _type) {
if (Mod::get()->getSettingValue<bool>("icon-hack")) {
if (hacks::getInstance().isHackEnabled("color-hack")) {
if (GameManager::isColorUnlocked(_id, _type)) return true;
return true;
} else {
Expand Down

0 comments on commit eb955dc

Please sign in to comment.