More Cleanups

This commit is contained in:
hondacrx
2021-06-08 12:56:09 -04:00
parent 302a1f293c
commit 52e43853fe
58 changed files with 223 additions and 257 deletions
+4 -4
View File
@@ -153,12 +153,12 @@ namespace Game.Arenas
// arena rating calculation
if (IsRated())
{
uint loserTeamRating = 0;
uint loserMatchmakerRating = 0;
uint loserTeamRating;
uint loserMatchmakerRating;
int loserChange = 0;
int loserMatchmakerChange = 0;
uint winnerTeamRating = 0;
uint winnerMatchmakerRating = 0;
uint winnerTeamRating;
uint winnerMatchmakerRating;
int winnerChange = 0;
int winnerMatchmakerChange = 0;
bool guildAwarded = false;
+1 -1
View File
@@ -144,7 +144,7 @@ namespace Game.Arenas
newMember.WeekGames = 0;
newMember.SeasonWins = 0;
newMember.WeekWins = 0;
newMember.PersonalRating = 0;
newMember.PersonalRating = (ushort)personalRating;
newMember.MatchMakerRating = (ushort)matchMakerRating;
Members.Add(newMember);