1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-11 05:57:24 +08:00
Dan Balasescu d597232c2a
Fix incorrect lastPattern value
In particular, mania-specific beatmaps that normally go via the
"passthrough" generator should not adjust the stored pattern value.

The "spinner" generator, which was previously intended to be used for
non-mania-specific beatmaps, is now valid even for mania-specific
beatmaps, and uses this value.

In other words, another way of writing this would be:
```csharp
if (conversion is SpinnerPatternGenerator || conversion is
PassThroughPatternGenerator) ? lastPattern : newPattern;
```
2024-12-13 16:08:12 +09:00
..
2023-06-24 01:00:03 +09:00