mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 22:47:24 +08:00
Fix Flush
call being run too late in PoolableSkinnableSample
This commit is contained in:
parent
5378cdff20
commit
297e7d6542
@ -129,11 +129,11 @@ namespace osu.Game.Skinning
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public void Play()
|
public void Play()
|
||||||
{
|
{
|
||||||
|
FlushPendingSkinChanges();
|
||||||
|
|
||||||
if (Sample == null)
|
if (Sample == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
FlushPendingSkinChanges();
|
|
||||||
|
|
||||||
activeChannel = Sample.GetChannel();
|
activeChannel = Sample.GetChannel();
|
||||||
activeChannel.Looping = Looping;
|
activeChannel.Looping = Looping;
|
||||||
activeChannel.Play();
|
activeChannel.Play();
|
||||||
|
Loading…
Reference in New Issue
Block a user