We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ecb98a commit 8f4fbc6Copy full SHA for 8f4fbc6
src/HighScore.cpp
@@ -307,7 +307,11 @@ XNode *HighScoreImpl::CreateNode() const
307
308
XNode *HighScoreImpl::CreateEttNode() const {
309
XNode *pNode = new XNode("Score");
310
- pNode->AppendAttr("Key", ScoreKey);
+
311
+ if (ScoreKey == "")
312
+ pNode->AppendAttr("Key", "S" + BinaryToHex(CryptManager::GetSHA1ForString(dateTime.GetString())));
313
+ else
314
+ pNode->AppendAttr("Key", ScoreKey);
315
316
pNode->AppendChild("SSRCalcVersion", SSRCalcVersion);
317
pNode->AppendChild("Grade", GradeToString(GetWifeGrade()));
0 commit comments