mirror of
https://github.com/ppy/osu.git
synced 2025-03-24 19:17:20 +08:00
Fix sample potentially playing at the wrong frequency
Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
parent
c6ed3efa4a
commit
6bfc7da671
@ -117,8 +117,9 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
|
||||
if (sampleReadyCount == null)
|
||||
return;
|
||||
|
||||
var channel = sampleReadyCount.Play();
|
||||
var channel = sampleReadyCount.GetChannel();
|
||||
channel.Frequency.Value = 0.77f + countReady * 0.06f;
|
||||
channel.Play();
|
||||
}
|
||||
|
||||
private void updateButtonColour(bool green)
|
||||
|
Loading…
x
Reference in New Issue
Block a user