mirror of
https://github.com/osukey/osukey.git
synced 2025-05-23 14:37:39 +09: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)
|
if (sampleReadyCount == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var channel = sampleReadyCount.Play();
|
var channel = sampleReadyCount.GetChannel();
|
||||||
channel.Frequency.Value = 0.77f + countReady * 0.06f;
|
channel.Frequency.Value = 0.77f + countReady * 0.06f;
|
||||||
|
channel.Play();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateButtonColour(bool green)
|
private void updateButtonColour(bool green)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user