Skip to content

Commit

Permalink
better proof against solo scores getting weird ssrs for ??? reason
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Dec 31, 2016
1 parent 79a9b21 commit 587b55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PlayerStageStats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ float PlayerStageStats::GetWifeScore() const {
}
vector<float> PlayerStageStats::CalcSSR() const {
vector<float> o = { 0.f, 0.f, 0.f,0.f,0.f };
if (GetGrade() == Grade_Failed || m_fWifeScore < 0.1f )
if (GetGrade() == Grade_Failed || m_fWifeScore < 0.1f || GAMESTATE->m_pCurSteps[m_player_number]->m_StepsType != StepsType_dance_single)
return o ;

FOREACHM_CONST(float, float, m_fLifeRecord, fail)
Expand Down

0 comments on commit 587b55e

Please sign in to comment.