1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-18 22:23:04 +08:00
osu-lazer/osu.Game/Screens/Ranking/Expanded
Bartłomiej Dach 15feb17da8
Change difficulty cache storage type to nullable
The recent changes related to adding support for working beatmap load
cancellation exposed a flaw in the beatmap difficulty cache. With the
way the difficulty computation logic was written, any error in the
calculation process (including beatmap load timeout, or cancellation)
would result in a 0.00 star rating being permanently cached in memory
for the given beatmap.

To resolve, change the difficulty cache's return type to nullable.
In failure scenarios, `null` is returned, rather than
`default(StarDifficulty)` as done previously.
2021-11-20 17:00:50 +01:00
..
Accuracy Update usages of BufferedContainer in line with framework changes 2021-11-05 15:54:49 +09:00
Statistics Localise accuracy display. 2021-07-23 22:37:08 +02:00
ExpandedPanelMiddleContent.cs Change difficulty cache storage type to nullable 2021-11-20 17:00:50 +01:00
ExpandedPanelTopContent.cs Rename User to APIUser and move to correct namespace 2021-11-07 11:26:01 +09:00
TotalScoreCounter.cs Localise accuracy display. 2021-07-23 22:37:08 +02:00