mirror of
https://github.com/ppy/osu.git
synced 2026-05-27 16:50:08 +08:00
Use better fallback
Seems better to use the rate from a non-gameplay clock than to arbitrarily apply 1.
This commit is contained in:
@@ -704,7 +704,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
}
|
||||
|
||||
Result.RawTime = Time.Current;
|
||||
Result.GameplayRate = (Clock as IGameplayClock)?.GetTrueGameplayRate() ?? 1.0;
|
||||
Result.GameplayRate = (Clock as IGameplayClock)?.GetTrueGameplayRate() ?? Clock.Rate;
|
||||
|
||||
if (Result.HasResult)
|
||||
updateState(Result.IsHit ? ArmedState.Hit : ArmedState.Miss);
|
||||
|
||||
Reference in New Issue
Block a user