mirror of https://github.com/ppy/osu
Fix `Flush` call being run too late in `PoolableSkinnableSample`
This commit is contained in:
parent
5378cdff20
commit
297e7d6542
|
@ -129,11 +129,11 @@ private void updateSample()
|
|||
/// </summary>
|
||||
public void Play()
|
||||
{
|
||||
FlushPendingSkinChanges();
|
||||
|
||||
if (Sample == null)
|
||||
return;
|
||||
|
||||
FlushPendingSkinChanges();
|
||||
|
||||
activeChannel = Sample.GetChannel();
|
||||
activeChannel.Looping = Looping;
|
||||
activeChannel.Play();
|
||||
|
|
Loading…
Reference in New Issue