mirror of https://github.com/ppy/osu
RemoveTeam shouldn't have nullable arg
This commit is contained in:
parent
625ed729ee
commit
cb4adf115c
|
@ -188,11 +188,8 @@ public void ClearTeams()
|
|||
setScrollState(ScrollState.Idle);
|
||||
}
|
||||
|
||||
public void RemoveTeam(TournamentTeam? team)
|
||||
public void RemoveTeam(TournamentTeam team)
|
||||
{
|
||||
if (team == null)
|
||||
return;
|
||||
|
||||
availableTeams.Remove(team);
|
||||
|
||||
foreach (var c in Children)
|
||||
|
|
Loading…
Reference in New Issue