mirror of
https://github.com/osukey/osukey.git
synced 2025-06-24 04:38:02 +09:00
Adjust TestSceneFailAnimation
to account for initial frequency change
This commit is contained in:
parent
8ca9cbc866
commit
16dc2f6ef5
@ -56,10 +56,11 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
|
|
||||||
private double lastFrequency = double.MaxValue;
|
private double lastFrequency = double.MaxValue;
|
||||||
|
|
||||||
protected override void Update()
|
protected override void UpdateAfterChildren()
|
||||||
{
|
{
|
||||||
base.Update();
|
base.UpdateAfterChildren();
|
||||||
|
|
||||||
|
// This must be done in UpdateAfterChildren to allow the gameplay clock to have updated before checking values.
|
||||||
double freq = Beatmap.Value.Track.AggregateFrequency.Value;
|
double freq = Beatmap.Value.Track.AggregateFrequency.Value;
|
||||||
|
|
||||||
FrequencyIncreased |= freq > lastFrequency;
|
FrequencyIncreased |= freq > lastFrequency;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user