mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 03:13:21 +08:00
Remove unnecessary count check
This commit is contained in:
parent
afac512a1b
commit
d40129aabe
@ -43,12 +43,9 @@ namespace osu.Game.Configuration
|
|||||||
{
|
{
|
||||||
lock (dirtySettings)
|
lock (dirtySettings)
|
||||||
{
|
{
|
||||||
if (dirtySettings.Count > 0)
|
foreach (var setting in dirtySettings)
|
||||||
{
|
settings.Update(setting);
|
||||||
foreach (var setting in dirtySettings)
|
dirtySettings.Clear();
|
||||||
settings.Update(setting);
|
|
||||||
dirtySettings.Clear();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user