mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Adjust TestSceneFailAnimation
to account for initial frequency change
This commit is contained in:
@ -56,10 +56,11 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
|
||||
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;
|
||||
|
||||
FrequencyIncreased |= freq > lastFrequency;
|
||||
|
Reference in New Issue
Block a user