1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

Add braces to lock()

Personal preference, I want to be sure that everything is wrapped correctly.
This commit is contained in:
smoogipoo 2019-09-05 13:37:11 +09:00
parent d40129aabe
commit 070a005294

View File

@ -90,9 +90,12 @@ namespace osu.Game.Configuration
bindable.ValueChanged += b => bindable.ValueChanged += b =>
{ {
setting.Value = b.NewValue; setting.Value = b.NewValue;
lock (dirtySettings) lock (dirtySettings)
{
if (!dirtySettings.Contains(setting)) if (!dirtySettings.Contains(setting))
dirtySettings.Add(setting); dirtySettings.Add(setting);
}
}; };
} }
} }