1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Allow changing accentcolour/bordercolour post-load

This commit is contained in:
smoogipoo 2018-02-21 18:00:46 +09:00
parent 50d0278cbd
commit 9cd9c83f2c

View File

@ -48,7 +48,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
return;
accentColour = value;
if (LoadState == LoadState.Ready)
if (LoadState >= LoadState.Ready)
Schedule(reloadTexture);
}
}
@ -66,7 +66,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
return;
borderColour = value;
if (LoadState == LoadState.Ready)
if (LoadState >= LoadState.Ready)
Schedule(reloadTexture);
}
}