Update usages of GameplayClockContainer.GameplayClock to access properties directly

This commit is contained in:
Dean Herbert
2022-08-15 17:06:24 +09:00
parent 224f3eaa84
commit 6d78218142
14 changed files with 48 additions and 37 deletions

View File

@ -451,7 +451,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
}
private void checkPaused(int userId, bool state)
=> AddUntilStep($"{userId} is {(state ? "paused" : "playing")}", () => getPlayer(userId).ChildrenOfType<GameplayClockContainer>().First().GameplayClock.IsRunning != state);
=> AddUntilStep($"{userId} is {(state ? "paused" : "playing")}", () => getPlayer(userId).ChildrenOfType<GameplayClockContainer>().First().IsRunning != state);
private void checkPausedInstant(int userId, bool state)
{