mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Update with framework bindable changes
This commit is contained in:
@ -124,14 +124,14 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
State.ValueChanged += state =>
|
||||
State.ValueChanged += e =>
|
||||
{
|
||||
UpdateState(state);
|
||||
UpdateState(e.NewValue);
|
||||
|
||||
// apply any custom state overrides
|
||||
ApplyCustomUpdateState?.Invoke(this, state);
|
||||
ApplyCustomUpdateState?.Invoke(this, e.NewValue);
|
||||
|
||||
if (State == ArmedState.Hit)
|
||||
if (e.NewValue == ArmedState.Hit)
|
||||
PlaySamples();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user