Skip to content

Commit

Permalink
send loader version with bi statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Feb 11, 2024
1 parent 130a842 commit 2277967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ void BetterInfo::loadImportantNotices(CCLayer* layer) {

layer->retain();

web::AsyncWebRequest().fetch(fmt::format("https://geometrydash.eu/mods/betterinfo/_api/importantNotices/?platform={}&version={}", GEODE_PLATFORM_NAME, Mod::get()->getVersion().toString(true))).json().then([layer](const matjson::Value& info){
web::AsyncWebRequest().fetch(fmt::format("https://geometrydash.eu/mods/betterinfo/_api/importantNotices/?platform={}&version={}&loader={}&notAlpha7=1", GEODE_PLATFORM_NAME, Mod::get()->getVersion().toString(true), Loader::get()->getVersion().toString(true))).json().then([layer](const matjson::Value& info){
auto notice = info.try_get("notice");
if(notice == std::nullopt) return;

Expand Down

0 comments on commit 2277967

Please sign in to comment.