Fix legacy leaderboards not clearing objects when going to another leaderboard

This commit is contained in:
Lncvrt committed 2025-09-05 12:16:52 -07:00
1 parent 952ec1cba3
commit 251b518ac5
1 file changed
+1 -1
+1 -1
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)
{