mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 22:33:05 +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)
|
||||
{
|
||||
if (dirtySettings.Count > 0)
|
||||
{
|
||||
foreach (var setting in dirtySettings)
|
||||
settings.Update(setting);
|
||||
dirtySettings.Clear();
|
||||
}
|
||||
foreach (var setting in dirtySettings)
|
||||
settings.Update(setting);
|
||||
dirtySettings.Clear();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user