1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 23:23:30 +08:00

Round when totalling up team scores instead of truncating

Matches score handling in `ScoreManager`.
This commit is contained in:
Bartłomiej Dach 2021-08-13 23:44:07 +02:00
parent 0642a337df
commit 00317c0e30
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -184,7 +184,7 @@ namespace osu.Game.Screens.Play.HUD
continue;
if (TeamScores.TryGetValue(u.Team.Value, out var team))
team.Value += (int)u.Score.Value;
team.Value += (int)Math.Round(u.Score.Value);
}
}