mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Fix mania holds written as spinners
This commit is contained in:
parent
58af75ad57
commit
7cdc9a599c
@ -248,7 +248,7 @@ namespace osu.Game.Beatmaps.Formats
|
||||
writer.WriteLine();
|
||||
}
|
||||
|
||||
private static LegacyHitObjectType getObjectType(HitObject hitObject)
|
||||
private LegacyHitObjectType getObjectType(HitObject hitObject)
|
||||
{
|
||||
LegacyHitObjectType type = 0;
|
||||
|
||||
@ -267,7 +267,10 @@ namespace osu.Game.Beatmaps.Formats
|
||||
break;
|
||||
|
||||
case IHasEndTime _:
|
||||
type |= LegacyHitObjectType.Spinner;
|
||||
if (beatmap.BeatmapInfo.RulesetID == 3)
|
||||
type |= LegacyHitObjectType.Hold;
|
||||
else
|
||||
type |= LegacyHitObjectType.Spinner;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user