Skip to content

Commit d9b0d94

Browse files
committed
asdf
1 parent 754a64e commit d9b0d94

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
- Fixed Crash removing checkpoints with checkpoint limit bypass enabled (thanks @hiimjustin000)
44
- Actually fixed not being able to exit practice mode with Comfirm Practice enabled
55
- Fixed not being able to scroll in the qolmod popup
6+
- Fixed dying in noclip breaking the cps counter
7+
- FINALLY fixed the touch issues with popups
68
- Added **No Dash Fire**
79

810
# 1.5.1

src/Labels/Labels.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,12 +301,15 @@ void StatusNode::update(float dt)
301301
}
302302
}
303303

304-
for (size_t i = 0; i < cps.size(); i++)
304+
if (dt != -1)
305305
{
306-
cps[i] -= dt / CCScheduler::get()->getTimeScale();
307-
}
306+
for (size_t i = 0; i < cps.size(); i++)
307+
{
308+
cps[i] -= dt / CCScheduler::get()->getTimeScale();
309+
}
308310

309-
cps.erase(std::remove_if(cps.begin(), cps.end(), [](float i){ return i < 0; }), cps.end());
311+
cps.erase(std::remove_if(cps.begin(), cps.end(), [](float i){ return i < 0; }), cps.end());
312+
}
310313

311314
sLabels[8]->setString((cpsM->options[1]->enabled ? fmt::format("{} / {} CPS", cps.size(), totalClicks) : fmt::format("{} CPS", cps.size(), totalClicks)).c_str());
312315

src/Layers/SillyBaseLayer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ bool SillyBaseLayer::setup()
1515

1616
this->runAction(CCFadeTo::create(1, 100));
1717
this->setKeypadEnabled(true);
18-
this->setTouchEnabled(false);
18+
this->setTouchEnabled(true);
1919

2020
auto l = CCMenu::create();
2121
l->setContentSize(size);
@@ -140,7 +140,7 @@ bool SillyBaseLayer::initWithSizeAndName(CCPoint size, std::string _title, bool
140140

141141
bool SillyBaseLayer::ccTouchBegan(cocos2d::CCTouch* p0, cocos2d::CCEvent* p1)
142142
{
143-
return false;
143+
return true;
144144
}
145145

146146
void SillyBaseLayer::ccTouchMoved(cocos2d::CCTouch* p0, cocos2d::CCEvent* p1)

0 commit comments

Comments
 (0)