mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:04:06 +08:00
Revert "Remove IsLayered
from LegacyHitSampleInfo
comparison"
This reverts commit 4523393208
.
This commit is contained in:
parent
2ea9e5245c
commit
997c091a8d
@ -500,7 +500,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
|
|||||||
=> new LegacyHitSampleInfo(newName.GetOr(Name), newBank.GetOr(Bank), newVolume.GetOr(Volume), newCustomSampleBank.GetOr(CustomSampleBank), newIsLayered.GetOr(IsLayered));
|
=> new LegacyHitSampleInfo(newName.GetOr(Name), newBank.GetOr(Bank), newVolume.GetOr(Volume), newCustomSampleBank.GetOr(CustomSampleBank), newIsLayered.GetOr(IsLayered));
|
||||||
|
|
||||||
public bool Equals(LegacyHitSampleInfo? other)
|
public bool Equals(LegacyHitSampleInfo? other)
|
||||||
=> base.Equals(other) && CustomSampleBank == other.CustomSampleBank;
|
=> base.Equals(other) && CustomSampleBank == other.CustomSampleBank && IsLayered == other.IsLayered;
|
||||||
|
|
||||||
public override bool Equals(object? obj)
|
public override bool Equals(object? obj)
|
||||||
=> obj is LegacyHitSampleInfo other && Equals(other);
|
=> obj is LegacyHitSampleInfo other && Equals(other);
|
||||||
|
Loading…
Reference in New Issue
Block a user