mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix first object not receiving new combo
Note: If a normal catch fruit is the first object, it does not receive a new combo...
This commit is contained in:
@ -29,6 +29,8 @@ namespace osu.Game.Rulesets.Objects.Legacy
|
||||
/// </summary>
|
||||
protected readonly int FormatVersion;
|
||||
|
||||
protected bool FirstObject { get; private set; } = true;
|
||||
|
||||
protected ConvertHitObjectParser(double offset, int formatVersion)
|
||||
{
|
||||
Offset = offset;
|
||||
@ -194,6 +196,8 @@ namespace osu.Game.Rulesets.Objects.Legacy
|
||||
result.StartTime = Convert.ToDouble(split[2], CultureInfo.InvariantCulture) + Offset;
|
||||
result.Samples = convertSoundType(soundType, bankInfo);
|
||||
|
||||
FirstObject = false;
|
||||
|
||||
return result;
|
||||
}
|
||||
catch (FormatException)
|
||||
|
Reference in New Issue
Block a user