This commit is contained in:
EmosewaMC 2023-05-30 04:28:50 -07:00
parent f5f599764d
commit 83da45575e

View File

@ -107,7 +107,7 @@ namespace LeaderboardManager {
secondaryScore = 0; secondaryScore = 0;
tertiaryScore = 0; tertiaryScore = 0;
} }
Score(uint32_t primaryScore, uint32_t secondaryScore = 0, uint32_t tertiaryScore = 0) { Score(const uint32_t primaryScore, const uint32_t secondaryScore = 0, const uint32_t tertiaryScore = 0) {
this->primaryScore = primaryScore; this->primaryScore = primaryScore;
this->secondaryScore = secondaryScore; this->secondaryScore = secondaryScore;
this->tertiaryScore = tertiaryScore; this->tertiaryScore = tertiaryScore;