mirror of
https://github.com/ppy/osu
synced 2025-01-11 08:39:31 +00:00
Rename variables in line with standards
This commit is contained in:
parent
3d19364a71
commit
88c6143aae
@ -221,11 +221,11 @@ namespace osu.Game.Tournament.Screens.Editors
|
||||
private void load(RulesetStore rulesets)
|
||||
{
|
||||
beatmapId.Value = Model.ID;
|
||||
beatmapId.BindValueChanged(idInt =>
|
||||
beatmapId.BindValueChanged(id =>
|
||||
{
|
||||
Model.ID = idInt.NewValue ?? 0;
|
||||
Model.ID = id.NewValue ?? 0;
|
||||
|
||||
if (idInt.NewValue != idInt.OldValue)
|
||||
if (id.NewValue != id.OldValue)
|
||||
Model.BeatmapInfo = null;
|
||||
|
||||
if (Model.BeatmapInfo != null)
|
||||
|
@ -229,11 +229,11 @@ namespace osu.Game.Tournament.Screens.Editors
|
||||
private void load(RulesetStore rulesets)
|
||||
{
|
||||
beatmapId.Value = Model.ID;
|
||||
beatmapId.BindValueChanged(idInt =>
|
||||
beatmapId.BindValueChanged(id =>
|
||||
{
|
||||
Model.ID = idInt.NewValue ?? 0;
|
||||
Model.ID = id.NewValue ?? 0;
|
||||
|
||||
if (idInt.NewValue != idInt.OldValue)
|
||||
if (id.NewValue != id.OldValue)
|
||||
Model.BeatmapInfo = null;
|
||||
|
||||
if (Model.BeatmapInfo != null)
|
||||
|
@ -279,11 +279,11 @@ namespace osu.Game.Tournament.Screens.Editors
|
||||
private void load()
|
||||
{
|
||||
userId.Value = user.Id;
|
||||
userId.BindValueChanged(idInt =>
|
||||
userId.BindValueChanged(id =>
|
||||
{
|
||||
user.Id = idInt.NewValue ?? 0;
|
||||
user.Id = id.NewValue ?? 0;
|
||||
|
||||
if (idInt.NewValue != idInt.OldValue)
|
||||
if (id.NewValue != id.OldValue)
|
||||
user.Username = string.Empty;
|
||||
|
||||
if (!string.IsNullOrEmpty(user.Username))
|
||||
|
Loading…
Reference in New Issue
Block a user