mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Update multiplayer countdown button text more often
At once a second, it regularly skips whole seconds (because scheduler isn't guaranteed to run exactly as often as specified). 10 updates a second seems amicable and less noticeable to my eye.
This commit is contained in:
@ -47,7 +47,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
|
||||
countdown = room?.Countdown;
|
||||
|
||||
if (room?.Countdown != null)
|
||||
countdownUpdateDelegate ??= Scheduler.AddDelayed(updateButtonText, 1000, true);
|
||||
countdownUpdateDelegate ??= Scheduler.AddDelayed(updateButtonText, 100, true);
|
||||
else
|
||||
{
|
||||
countdownUpdateDelegate?.Cancel();
|
||||
|
Reference in New Issue
Block a user