Fix gameplay proceeding when no frames have been received yet

This commit is contained in:
Dean Herbert
2020-10-27 18:28:49 +09:00
parent d4467d20a2
commit b3d793a505
2 changed files with 21 additions and 0 deletions

View File

@ -162,6 +162,12 @@ namespace osu.Game.Rulesets.Replays
// if we didn't change frames, we need to ensure we are allowed to run frames in between, else return null.
}
}
else
{
// if we never received frames and are expecting to, block.
if (!replay.HasReceivedAllFrames)
return null;
}
return CurrentTime = time;
}