mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Add safety check for when no objects have been assigned.
This commit is contained in:
@ -132,6 +132,9 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
base.Update();
|
||||
|
||||
if (objects == null)
|
||||
return;
|
||||
|
||||
double progress = (AudioClock?.CurrentTime ?? Time.Current) / lastHitTime;
|
||||
|
||||
bar.UpdatePosition((float)progress);
|
||||
|
Reference in New Issue
Block a user