Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Jul 24, 2024
1 parent e4def27 commit b45f633
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.5.1

- Fixed Globed already loaded level bug
- Fixed not being able to exit practice mode with Comfirm Practice enabled

# 1.5.0

- Fixed Show Hitboxes Colours not loading correctly
Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "3.3.0",
"version": "v1.5.0",
"version": "v1.5.1",
"gd": {
"win": "2.206",
"android": "2.206"
Expand Down
18 changes: 6 additions & 12 deletions src/Hacks/PracticeAlert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ class $modify (PauseLayer)
std::string("Are you sure you want to\n") + std::string(PlayLayer::get()->m_isPracticeMode ? "exit" : "enter") + std::string(" <cg>practice mode</c>?"),
"Cancel", "Practice",
[this, sender](FLAlertLayer* tis, bool btn2) {
log::info("click practice");

if (btn2) {
log::info("right btn");

if (btn2)
{
this->m_fields->v = true;

this->onPracticeMode(sender);
Expand All @@ -51,14 +48,11 @@ class $modify (PauseLayer)

geode::createQuickPopup(
"Practice Mode",
std::string("Are you sure you want to\n") + std::string(PlayLayer::get()->m_isPracticeMode ? "exit" : "enter") + std::string(" <cg>practice mode</c>?"),
"Cancel", "Practice",
"Are you sure you want to\n<cr>exit</c> <cg>practice mode</c>",
"Cancel", "Exit",
[this, sender](FLAlertLayer* tis, bool btn2) {
log::info("click practice");

if (btn2) {
log::info("right btn");

if (btn2)
{
this->m_fields->v = true;

this->onPracticeMode(sender);
Expand Down
2 changes: 1 addition & 1 deletion src/Labels/Labels.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class StatusNode : public CCNode
std::vector<float> cps;
int totalClicks = 0;

Ref<BestPlayLayer> bestRunPlayLayer = nullptr;
BestPlayLayer* bestRunPlayLayer = nullptr;

std::string formatTime(float time) {
// Convert float time to milliseconds
Expand Down

0 comments on commit b45f633

Please sign in to comment.