1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 08:52:58 +08:00

Fix incorrect legacy decoder usage

This commit is contained in:
Dean Herbert 2021-10-01 19:05:08 +09:00
parent 3faafd7200
commit 4c28749d73

View File

@ -177,7 +177,7 @@ namespace osu.Game.Beatmaps.Formats
{ {
var startTime = Parsing.ParseDouble(split[1]); var startTime = Parsing.ParseDouble(split[1]);
var repeatCount = Parsing.ParseInt(split[2]); var repeatCount = Parsing.ParseInt(split[2]);
timelineGroup = storyboardSprite?.AddLoop(startTime, Math.Max(0, repeatCount)); timelineGroup = storyboardSprite?.AddLoop(startTime, Math.Max(0, repeatCount - 1));
break; break;
} }