mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Merge branch 'master' into nullref-fix
This commit is contained in:
commit
24f7b6823e
@ -1 +1 @@
|
||||
Subproject commit a617245a4261d7d6e138c2fddbbeaa7940d24ca7
|
||||
Subproject commit 0fe1e50b38ff9ce8aceba231eede3333cb73bb23
|
@ -51,6 +51,7 @@ namespace osu.Game.Rulesets.Osu.OsuDifficulty.Preprocessing
|
||||
|
||||
foreach (OsuDifficultyHitObject h in onScreen)
|
||||
{
|
||||
// ReSharper disable once PossibleNullReferenceException (resharper not smart enough to understand IEnumerator.MoveNext())
|
||||
h.TimeUntilHit -= latest.DeltaTime;
|
||||
// Calculate reading strain here
|
||||
}
|
||||
|
@ -28,6 +28,8 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
public override void Add(KeyCounter key)
|
||||
{
|
||||
if (key == null) throw new ArgumentNullException(nameof(key));
|
||||
|
||||
base.Add(key);
|
||||
key.IsCounting = IsCounting;
|
||||
key.FadeTime = FadeTime;
|
||||
|
Loading…
Reference in New Issue
Block a user