mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Display seconds when hours>0 to be more lively
This commit is contained in:
parent
ef29987f36
commit
b84f716c22
@ -44,6 +44,6 @@ namespace osu.Game.Online.Multiplayer
|
||||
Scheduler.AddDelayed(updateTimeWithReschedule, timeToNextSecond);
|
||||
}
|
||||
|
||||
private void updateTime() => Text = $"The multiplayer server is restarting in {HumanizerUtils.Humanize(endDate.Subtract(DateTimeOffset.Now), precision: 2, minUnit: TimeUnit.Second)}.";
|
||||
private void updateTime() => Text = $"The multiplayer server is restarting in {HumanizerUtils.Humanize(endDate.Subtract(DateTimeOffset.Now), precision: 3, minUnit: TimeUnit.Second)}.";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user