Fix banana override

This commit is contained in:
Dean Herbert 2024-10-01 16:48:20 +09:00
parent 0a78eb9628
commit 861da968d4
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public BananaHitSampleInfo(int volume = 100)
{ {
} }
public sealed override HitSampleInfo With(Optional<string> newName = default, Optional<string> newBank = default, Optional<string?> newSuffix = default, Optional<int> newVolume = default) public sealed override HitSampleInfo With(Optional<string> newName = default, Optional<string> newBank = default, Optional<string?> newSuffix = default, Optional<int> newVolume = default, Optional<bool> newEditorAutoBank = default)
=> new BananaHitSampleInfo(newVolume.GetOr(Volume)); => new BananaHitSampleInfo(newVolume.GetOr(Volume));
public bool Equals(BananaHitSampleInfo? other) public bool Equals(BananaHitSampleInfo? other)