mirror of https://github.com/ppy/osu
Dispose `ScrollingTeam`s on removal
This commit is contained in:
parent
778d767a12
commit
b43995269a
|
@ -170,7 +170,7 @@ public void AddTeam(TournamentTeam team)
|
|||
|
||||
availableTeams.Add(team);
|
||||
|
||||
RemoveAll(c => c is ScrollingTeam, false);
|
||||
RemoveAll(c => c is ScrollingTeam, true);
|
||||
setScrollState(ScrollState.Idle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue