Skip to content

Commit

Permalink
include tag in update message
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Jan 24, 2024
1 parent e8a7752 commit 4157cb8
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 @@ -566,7 +566,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(false))).json().then([layer](const matjson::Value& info){
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){
auto notice = info.try_get("notice");
if(notice == std::nullopt) return;

Expand Down

0 comments on commit 4157cb8

Please sign in to comment.