Fix incorrect truncation to int

This commit is contained in:
Dan Balasescu 2023-08-15 00:58:13 +09:00
parent fd3f5d8e79
commit 90d7e46e20
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public virtual void FromDatabaseAttributes(IReadOnlyDictionary<int, double> valu
// Temporarily allow these attributes to not exist so as to not block releases of server-side components while these attributes aren't populated/used yet.
LegacyAccuracyScore = (int)values.GetValueOrDefault(ATTRIB_ID_LEGACY_ACCURACY_SCORE);
LegacyComboScore = (int)values.GetValueOrDefault(ATTRIB_ID_LEGACY_COMBO_SCORE);
LegacyBonusScoreRatio = (int)values.GetValueOrDefault(ATTRIB_ID_LEGACY_BONUS_SCORE_RATIO);
LegacyBonusScoreRatio = values.GetValueOrDefault(ATTRIB_ID_LEGACY_BONUS_SCORE_RATIO);
}
}
}