mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
Add braces to lock()
Personal preference, I want to be sure that everything is wrapped correctly.
This commit is contained in:
parent
d40129aabe
commit
070a005294
@ -90,9 +90,12 @@ namespace osu.Game.Configuration
|
||||
bindable.ValueChanged += b =>
|
||||
{
|
||||
setting.Value = b.NewValue;
|
||||
|
||||
lock (dirtySettings)
|
||||
{
|
||||
if (!dirtySettings.Contains(setting))
|
||||
dirtySettings.Add(setting);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user