mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Fix nullref in KeyCounterCollection
This commit is contained in:
@ -38,7 +38,8 @@ namespace osu.Game.Screens.Play
|
||||
key.FadeTime = FadeTime;
|
||||
key.KeyDownTextColor = KeyDownTextColor;
|
||||
key.KeyUpTextColor = KeyUpTextColor;
|
||||
key.Clock = (IFrameBasedClock)AudioClock;
|
||||
if (AudioClock != null && AudioClock is IFrameBasedClock basedClock)
|
||||
key.Clock = basedClock;
|
||||
}
|
||||
|
||||
public void ResetCount()
|
||||
|
Reference in New Issue
Block a user