Skip to content

Commit 2b471ee

Browse files
add grades to brittle validation key
1 parent 9ece0cf commit 2b471ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PlayerStageStats.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ void PlayerStageStats::GenerateValidationKeys(HighScore& hs) const {
367367
key.append(to_string(static_cast<int>(hs.GetWifePoints() * 1000.f)));
368368
key.append(to_string(static_cast<int>(!hs.GetChordCohesion())));
369369
key.append(to_string(static_cast<int>(hs.GetEtternaValid())));
370+
key.append(to_string(static_cast<int>(hs.GetGrade())));
371+
key.append(to_string(static_cast<int>(hs.GetWifeGrade())));
370372

371373
hs.SetValidationKey(ValidationKey_Brittle, BinaryToHex(CryptManager::GetSHA1ForString(key)));
372374

0 commit comments

Comments
 (0)