mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 05:52:55 +08:00
Use different variable source
This commit is contained in:
parent
258ad7c6b9
commit
16ff8d5c38
@ -29,7 +29,7 @@ namespace osu.Game.Graphics.Containers
|
|||||||
private TimingControlPoint? lastTimingPoint { get; set; }
|
private TimingControlPoint? lastTimingPoint { get; set; }
|
||||||
private EffectControlPoint? lastEffectPoint { get; set; }
|
private EffectControlPoint? lastEffectPoint { get; set; }
|
||||||
|
|
||||||
public bool IsKiaiTime { get; private set; }
|
protected bool IsKiaiTime { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The amount of time before a beat we should fire <see cref="OnNewBeat(int, TimingControlPoint, EffectControlPoint, ChannelAmplitudes)"/>.
|
/// The amount of time before a beat we should fire <see cref="OnNewBeat(int, TimingControlPoint, EffectControlPoint, ChannelAmplitudes)"/>.
|
||||||
@ -142,7 +142,7 @@ namespace osu.Game.Graphics.Containers
|
|||||||
lastTimingPoint = timingPoint;
|
lastTimingPoint = timingPoint;
|
||||||
lastEffectPoint = effectPoint;
|
lastEffectPoint = effectPoint;
|
||||||
|
|
||||||
IsKiaiTime = lastEffectPoint?.KiaiMode ?? false;
|
IsKiaiTime = effectPoint?.KiaiMode ?? false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user