1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 12:35:34 +08:00

Early return if no change occurred in looping value

This commit is contained in:
Dean Herbert 2019-09-02 19:01:17 +09:00
parent f08b523abf
commit 0bfe4650c3

View File

@ -45,6 +45,8 @@ namespace osu.Game.Skinning
get => looping;
set
{
if (value == looping) return;
looping = value;
channels?.ForEach(c => c.Looping = looping);