1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 15:27:30 +08:00

Make (Manual)BreakPeriod a class again

CodeFileSanity doesn't like records and it being a record wasn't doing
much anymore anyway.
This commit is contained in:
Bartłomiej Dach 2024-06-19 14:53:09 +02:00
parent 00443403b6
commit 617c1341d7
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ using osu.Game.Screens.Play;
namespace osu.Game.Beatmaps.Timing
{
public record BreakPeriod
public class BreakPeriod : IEquatable<BreakPeriod>
{
/// <summary>
/// The minimum gap between the start of the break and the previous object.

View File

@ -5,7 +5,7 @@ using osu.Game.Beatmaps.Timing;
namespace osu.Game.Screens.Edit
{
public record ManualBreakPeriod : BreakPeriod
public class ManualBreakPeriod : BreakPeriod
{
public ManualBreakPeriod(double startTime, double endTime)
: base(startTime, endTime)