Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiLko authored Feb 12, 2024
1 parent cbea9e2 commit 9a006d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class RecordLayer : public geode::Popup<std::string const&> {
protected:
bool setup(std::string const& value) override {
auto winSize = cocos2d::CCDirector::sharedDirector()->getWinSize();
auto versionLabel = CCLabelBMFont::create("xdBot v1.4.2 - made by Zilko", "chatFont.fnt");
auto versionLabel = CCLabelBMFont::create("xdBot v1.4.1 - made by Zilko", "chatFont.fnt");
versionLabel->setOpacity(60);
versionLabel->setAnchorPoint(ccp(0.0f,0.5f));
versionLabel->setPosition(winSize/2 + ccp(-winSize.width/2, -winSize.height/2) + ccp(3, 6));
Expand Down Expand Up @@ -575,7 +575,7 @@ void macroCell::handleLoad(CCObject* btn) {
recorder.fps = 240;
}

Mod::get()->setSettingValue("bot_fps", recorder.fps);
Mod::get()->setSettingValue("bot_fps", static_cast<int64_t>(recorder.fps));

CCArray* children = CCDirector::sharedDirector()->getRunningScene()->getChildren();
CCObject* child;
Expand Down

0 comments on commit 9a006d4

Please sign in to comment.