diff --git a/source/download_cheats_page.cpp b/source/download_cheats_page.cpp index ca4da22..b98310e 100644 --- a/source/download_cheats_page.cpp +++ b/source/download_cheats_page.cpp @@ -144,7 +144,7 @@ void DownloadCheatsPage::GetBuildIDFromFile() std::string version_str = std::to_string(this->version); if (versions_json.find(version_str) != versions_json.end()) { - this->bid = versions_json[version_str]; + this->bid = versions_json.at(version_str).get(); } else { this->bid = "";