Skip to content

Commit

Permalink
test retaining request to see if it fixes mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Aug 25, 2023
1 parent 75ef933 commit 0ddb0dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/managers/BetterInfoOnline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void BetterInfoOnline::loadScores(int accountID, bool force){
request->setUrl("http://www.boomlings.com/database/getGJScores20.php");
request->setRequestType(CCHttpRequest::HttpRequestType::kHttpPost);
request->setResponseCallback(this, httpresponse_selector(BetterInfoOnline::onScoresFinished));
request->retain();
//TODO: make this slightly more dynamic
auto postData = CCString::createWithFormat("gameVersion=21&binaryVersion=35&gdw=0&accountID=%i&type=relative&secret=Wmfd2893gb7", accountID);
request->setRequestData(
Expand Down

0 comments on commit 0ddb0dc

Please sign in to comment.