1
0
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:
smoogipoo 2020-04-22 16:27:07 +09:00
parent 58af75ad57
commit 7cdc9a599c

View File

@ -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: