mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Prevent potential exception
This commit is contained in:
@ -59,7 +59,7 @@ namespace osu.Game.Rulesets.UI
|
||||
/// </summary>
|
||||
public PassThroughInputManager KeyBindingInputManager;
|
||||
|
||||
public override double GameplayStartTime => Objects.First().StartTime - 2000;
|
||||
public override double GameplayStartTime => Objects.FirstOrDefault()?.StartTime - 2000 ?? 0;
|
||||
|
||||
private readonly Lazy<Playfield> playfield;
|
||||
|
||||
|
Reference in New Issue
Block a user