1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +08:00

Fix sample potentially playing at the wrong frequency

Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
Dan Balasescu 2021-02-15 18:10:45 +09:00 committed by GitHub
parent c6ed3efa4a
commit 6bfc7da671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)