Remove custom OptionalType and use the default c# nullable type.

This commit is contained in:
hondacrx
2022-03-01 17:27:56 -05:00
parent cc08afe269
commit c14f1eb3dc
89 changed files with 924 additions and 976 deletions
+4 -4
View File
@@ -104,12 +104,12 @@ namespace Game.Arenas
if (IsRated())
{
pvpLogData.Ratings.Value = new();
pvpLogData.Ratings = new();
for (byte i = 0; i < SharedConst.PvpTeamsCount; ++i)
{
pvpLogData.Ratings.Value.Postmatch[i] = _arenaTeamScores[i].PostMatchRating;
pvpLogData.Ratings.Value.Prematch[i] = _arenaTeamScores[i].PreMatchRating;
pvpLogData.Ratings.Value.PrematchMMR[i] = _arenaTeamScores[i].PreMatchMMR;
pvpLogData.Ratings.Postmatch[i] = _arenaTeamScores[i].PostMatchRating;
pvpLogData.Ratings.Prematch[i] = _arenaTeamScores[i].PreMatchRating;
pvpLogData.Ratings.PrematchMMR[i] = _arenaTeamScores[i].PreMatchMMR;
}
}
}