diff --git a/PadelClubData/Data/GroupStage.swift b/PadelClubData/Data/GroupStage.swift index 67f7d18..a067168 100644 --- a/PadelClubData/Data/GroupStage.swift +++ b/PadelClubData/Data/GroupStage.swift @@ -166,7 +166,7 @@ final public class GroupStage: BaseGroupStage, SideStorable { let order = _matchOrder() let matchCount = max(1, matchCount) let count = ordered.count / matchCount - if ordered.isEmpty == false && ordered.count % order.count == 0 { + if ordered.isEmpty == false && order.isEmpty == false && ordered.count % order.count == 0 { let repeatedArray = (0..