Add ServerShuttingDownCountdown

This commit is contained in:
Dan Balasescu
2022-09-15 20:54:06 +09:00
parent 8d725f7744
commit 433bb5ae24
6 changed files with 54 additions and 4 deletions

View File

@ -730,6 +730,8 @@ namespace osu.Game
ScoreManager.PostNotification = n => Notifications.Post(n);
ScoreManager.PresentImport = items => PresentScore(items.First().Value);
MultiplayerClient.PostNotification = n => Notifications.Post(n);
// make config aware of how to lookup skins for on-screen display purposes.
// if this becomes a more common thing, tracked settings should be reconsidered to allow local DI.
LocalConfig.LookupSkinName = id => SkinManager.Query(s => s.ID == id)?.ToString() ?? "Unknown";