mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +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 EffectControlPoint? lastEffectPoint { get; set; }
|
||||
|
||||
public bool IsKiaiTime { get; private set; }
|
||||
protected bool IsKiaiTime { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// 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;
|
||||
lastEffectPoint = effectPoint;
|
||||
|
||||
IsKiaiTime = lastEffectPoint?.KiaiMode ?? false;
|
||||
IsKiaiTime = effectPoint?.KiaiMode ?? false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user