Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Feb 1, 2024
1 parent 66f2062 commit 0549ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hacks/Global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class $modify(GameStatsManager) {
class $modify(CCScheduler) {
void update(float dt) {
HackItem* speedhack = Hacks::getHack("Speedhack");
speedhack->value.floatValue = std::max(m_hack->value.floatValue, 0.01f);
speedhack->value.floatValue = std::max(speedhack->value.floatValue, 0.01f);
if (speedhack == nullptr) return CCScheduler::update(dt);
if (speedhack->value.floatValue == 1.0F) return CCScheduler::update(dt);
CCScheduler::update(dt * speedhack->value.floatValue);
Expand Down

0 comments on commit 0549ee0

Please sign in to comment.