1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 13:20:16 +08:00
Files
osu-lazer/osu.Game/Scoring
T
Bartłomiej Dach f051720fa1 Fix score encoder being dependent on current culture
As it turns out, on some cultures, the "negative integer" sign is not
encoded using the U+002D HYPHEN-MINUS codepoint. For instance, Swedish
uses U+2212 MINUS SIGN instead. This was confusing the legacy decoder,
since it is correctly depending on the serialisation being
culture-independent.

To fix, ensure that the special "end replay" frame, as well as the
replay MD5 hash, are generated in a culture-invariant manner.

Thankfully the replay MD5 hash is currently being discarded in
`LegacyScoreDecoder`, so it changing in future scores should not have
any negative effect on lazer operation.
f051720fa1 · 2021-12-04 17:13:43 +01:00
History
..