mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:02:55 +08:00
Rename method
This commit is contained in:
parent
830e243d12
commit
2e19e93036
@ -199,7 +199,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
comboColourBrightness.BindValueChanged(_ => UpdateComboColour());
|
comboColourBrightness.BindValueChanged(_ => UpdateComboColour());
|
||||||
|
|
||||||
// Apply transforms
|
// Apply transforms
|
||||||
updateStateBasedOnResults();
|
updateStateFromResult();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -266,7 +266,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
// If not loaded, the state update happens in LoadComplete().
|
// If not loaded, the state update happens in LoadComplete().
|
||||||
if (IsLoaded)
|
if (IsLoaded)
|
||||||
{
|
{
|
||||||
updateStateBasedOnResults();
|
updateStateFromResult();
|
||||||
|
|
||||||
// Combo colour may have been applied via a bindable flow while no object entry was attached.
|
// Combo colour may have been applied via a bindable flow while no object entry was attached.
|
||||||
// Update here to ensure we're in a good state.
|
// Update here to ensure we're in a good state.
|
||||||
@ -274,7 +274,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateStateBasedOnResults()
|
private void updateStateFromResult()
|
||||||
{
|
{
|
||||||
if (Result.IsHit)
|
if (Result.IsHit)
|
||||||
updateState(ArmedState.Hit, true);
|
updateState(ArmedState.Hit, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user