diff --git a/scripts/ui/menu/play/MapInfoContainer.cs b/scripts/ui/menu/play/MapInfoContainer.cs index 883b338..ea8b557 100644 --- a/scripts/ui/menu/play/MapInfoContainer.cs +++ b/scripts/ui/menu/play/MapInfoContainer.cs @@ -425,8 +425,19 @@ public void Setup(Map map) Lobby.SetStartFrom(0); + LoadLeaderboard(map); + preview.Setup(map, true); + } + + public void Refresh() + { + Setup(Map); + LoadLeaderboard(Map); + } + public void LoadLeaderboard(Map map) + { // Leaderboard Leaderboard = new(); @@ -456,11 +467,6 @@ public void Setup(Map map) } } - public void Refresh() - { - Setup(Map); - } - public Tween Transition(bool show) { Tween tween = CreateTween().SetEase(Tween.EaseType.Out).SetTrans(Tween.TransitionType.Cubic).SetParallel();