Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Nov 19, 2024
1 parent d497c01 commit e9aaed4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 1.7.5-beta.4

- Fixed crash when closing the mod popup
- **Temporarily disabled labels on android because it caused crashes!!!**

# 1.7.5-beta.3

Expand Down
4 changes: 2 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "4.0.0-beta.1",
"version": "v1.7.5-beta.3",
"geode": "4.0.0",
"version": "v1.7.5-beta.4",
"gd": {
"win": "2.2074",
"android": "2.2074",
Expand Down
6 changes: 5 additions & 1 deletion src/Labels/LabelHooks.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#ifndef GEODE_IS_ANDROID

#include "LabelHooks.hpp"

bool LabelsUILayer::init(GJBaseGameLayer* bgl)
Expand Down Expand Up @@ -58,4 +60,6 @@ void LabelPlayLayer::destroyPlayer(PlayerObject* p0, GameObject* p1)
as<LabelsUILayer*>(m_uiLayer)->m_fields->labelLayer->setLastPercentage(getCurrentPercent());

PlayLayer::destroyPlayer(p0, p1);
}
}

#endif
6 changes: 5 additions & 1 deletion src/Labels/LabelHooks.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#ifndef GEODE_IS_ANDROID

#pragma once

#include <Geode/Geode.hpp>
Expand Down Expand Up @@ -30,4 +32,6 @@ class $modify (LabelBaseGameLayer, GJBaseGameLayer)
class $modify (LabelPlayLayer, PlayLayer)
{
virtual void destroyPlayer(PlayerObject* p0, GameObject* p1);
};
};

#endif

0 comments on commit e9aaed4

Please sign in to comment.