Skip to content

Commit

Permalink
Update default ELO 1000 -> 10000
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Jul 14, 2024
1 parent 3ba06b7 commit 70c558a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Core/[LR] Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ private void OnClientAuthorized(CCSPlayerController player, SteamID steamId)
SteamId = steamIdStr,
Name = playerName,
LastConnect = (int)currentTime,
Value = StatisticType == "1" || StatisticType == "2" ? 1000 : 0,
Value = StatisticType == "1" || StatisticType == "2" ? 10000 : 0,
Rank = 1
};
await Database.AddUserToDb(userFromDb);
Expand Down Expand Up @@ -550,7 +550,7 @@ private async Task ReauthorizeOnlinePlayers()
SteamId = steamIdStr,
Name = playerName,
LastConnect = (int)currentTime,
Value = StatisticType == "1" || StatisticType == "2" ? 1000 : 0
Value = StatisticType == "1" || StatisticType == "2" ? 10000 : 0
};
await Database.AddUserToDb(userFromDb);
}
Expand Down Expand Up @@ -1284,7 +1284,7 @@ private void ResetUserStats(CCSPlayerController player, User user)


if (StatisticType == "1" || StatisticType == "2")
user.Value = 1000;
user.Value = 10000;
else
user.Value = 0;

Expand Down

0 comments on commit 70c558a

Please sign in to comment.