Skip to content

Commit

Permalink
bump geode version, mod version, fix unintentional node ids dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
vani11agirl committed Jul 30, 2024
1 parent 323f28e commit 361223d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"geode": "3.3.0",
"geode": "3.4.0",
"gd": {
"win": "2.206",
"android": "2.206",
Expand All @@ -8,9 +8,9 @@
},
"id": "catgirldev.ingame-progress-bar-color",
"name": "Custom In-Game Progress Bar Color",
"version": "v1.0.0",
"version": "v1.1.0",
"developer": "catgirldev",
"description": "my first mod?",
"description": "Lets you change your progress bar color in-game.",
"settings": {
"mode": {
"name": "Working Mode (see info)",
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class $modify(PlayLayer) {
PlayLayer::startGame();
if ((!m_level->isPlatformer()) && m_progressFill){
ccColor3B nya = paint();
auto progress_bar = static_cast<CCSprite* >(this->getChildByID("progress-bar")->getChildren()->objectAtIndex(0)); // TODO: use the member instead
auto progress_bar = static_cast<CCSprite* >(m_progressFill); // fuuuuck
progress_bar->setColor(nya);
}
}
Expand Down

0 comments on commit 361223d

Please sign in to comment.