Skip to content

Commit

Permalink
Fixed demonlist level position bug (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouca committed Oct 5, 2024
1 parent 65fe427 commit d43f991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/DemonList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class $modify(LevelInfoLayer) {
std::string listId = Mod::get()->template getSettingValue<std::string>("demonListSelection");
std::string url = "";
if (listId == "Pointercrate") {
url = fmt::format("https://pointercrate.com/api/v2/demons/listed/?name={}", url_encode(level->m_levelName).c_str());
url = fmt::format("https://pointercrate.com/api/v2/demons/listed/?level_id={}", levelID);
} else {
url = fmt::format("https://api.aredl.net/api/aredl/levels/{}", levelID);
}
Expand Down

0 comments on commit d43f991

Please sign in to comment.