Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Commit

Permalink
ArtifactRating // Fix a summing mistake.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShikiSuen committed Aug 13, 2024
1 parent c08c808 commit fab9e04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ extension ArtifactRating {
}

public var isValid: Bool {
guard allpt == stat1pt + stat2pt + stat3pt + stat4pt + stat5pt
guard allpt == stat1pt + stat2pt + stat3pt + stat4pt + stat5pt + stat6pt
else { return false }
guard stat1pt >= 0 else { return false }
guard stat2pt >= 0 else { return false }
Expand Down

0 comments on commit fab9e04

Please sign in to comment.