RemoveTeam shouldn't have nullable arg

This commit is contained in:
cdwcgt 2023-07-30 01:40:13 +09:00
parent 625ed729ee
commit cb4adf115c
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2
1 changed files with 1 additions and 4 deletions

View File

@ -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)