Skip to content

Commit

Permalink
fix playerrating value from eo displaying 0.00 in profile
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 1, 2019
1 parent 65c248a commit e5a68e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Etterna/Singletons/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2144,8 +2144,8 @@ DownloadManager::RefreshUserData()
else
(DLMAN->sessionRatings)[ss] = 0.0f;
}
if (skillsets.HasMember("playerRating") &&
skillsets["playerRating"].IsNumber())
if (attr.HasMember("playerRating") &&
attr["playerRating"].IsNumber())
DLMAN->sessionRatings[Skill_Overall] =
attr["playerRating"].GetDouble();
if (skillsets.HasMember("countryCode") &&
Expand Down

0 comments on commit e5a68e9

Please sign in to comment.