Skip to content

Commit

Permalink
fill in radar values for replay highscores
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 27, 2018
1 parent 81f56f5 commit bd692cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/StageStats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -658,10 +658,14 @@ StageStats::FinalizeScores(bool bSummary)
.empty()) {
SCOREMAN->tempscoreforonlinereplayviewing =
PlayerAI::pScoreData;
SCOREMAN->tempscoreforonlinereplayviewing->SetRadarValues(
hs.GetRadarValues());
SCOREMAN->camefromreplay = true;
} else { // dont do this if the replay was from online or bad stuff happens -mina
mostrecentscorekey = PlayerAI::pScoreData->GetScoreKey();
SCOREMAN->PutScoreAtTheTop(mostrecentscorekey);
SCOREMAN->GetMostRecentScore()->SetRadarValues(
hs.GetRadarValues());
}
}
zzz->m_lastSong.FromSong(GAMESTATE->m_pCurSong);
Expand Down

0 comments on commit bd692cc

Please sign in to comment.