Stabilize beta release with warning cleanup and edge-case fixes
This commit is contained in:
@@ -227,7 +227,7 @@ final class AchievementEngine {
|
||||
}
|
||||
|
||||
private func checkDivisionComplete(_ divisionId: String, visitedStadiumIds: Set<String>) -> Bool {
|
||||
guard let division = LeagueStructure.division(byId: divisionId) else { return false }
|
||||
guard LeagueStructure.division(byId: divisionId) != nil else { return false }
|
||||
|
||||
// Get stadium IDs for teams in this division
|
||||
let stadiumIds = getStadiumIdsForDivision(divisionId)
|
||||
@@ -237,7 +237,7 @@ final class AchievementEngine {
|
||||
}
|
||||
|
||||
private func checkConferenceComplete(_ conferenceId: String, visitedStadiumIds: Set<String>) -> Bool {
|
||||
guard let conference = LeagueStructure.conference(byId: conferenceId) else { return false }
|
||||
guard LeagueStructure.conference(byId: conferenceId) != nil else { return false }
|
||||
|
||||
// Get stadium IDs for all teams in this conference
|
||||
let stadiumIds = getStadiumIdsForConference(conferenceId)
|
||||
|
||||
Reference in New Issue
Block a user