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:
parent
d40129aabe
commit
070a005294
@ -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);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user