mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Fix samples being played more than once on skin change
This commit is contained in:
parent
7c83a27002
commit
8080fe942c
@ -152,7 +152,7 @@ namespace osu.Game.Skinning
|
|||||||
SamplesContainer.Add(sample);
|
SamplesContainer.Add(sample);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wasPlaying)
|
if (wasPlaying && !Looping)
|
||||||
Play();
|
Play();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user