1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 07:09:11 +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
Unverified
parent f08b523abf
commit 0bfe4650c3
+2
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);