mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09: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);
|
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…
x
Reference in New Issue
Block a user