Fix legacy leaderboards not clearing objects when going to another leaderboard

This commit is contained in:
2025-09-05 12:16:52 -07:00
parent 952ec1cba3
commit 251b518ac5

View File

@@ -98,7 +98,7 @@ public class LeaderboardsMenu : MonoBehaviour
}
else if (legacyPanel.activeSelf)
{
foreach (Transform item in coinContent.transform)
foreach (Transform item in legacyContent.transform)
{
if (item.gameObject.activeSelf)
{