it seems im having a brainlet moment or 2 here

This commit is contained in:
Josh Smith 2019-02-18 07:00:33 -05:00
parent 81b44e19fe
commit cb9bd6cb5d
2 changed files with 4 additions and 4 deletions

View File

@ -236,7 +236,7 @@ class score:
self.oldPersonalBest = 0
else:
# Compare personal best's score with current score
if b.rankedStatus == rankedStatus.RANKED:
if b.rankedStatus == rankedStatuses.RANKED:
if self.pp > personalBest["pp"]:
# New best score
self.completed = 3
@ -246,7 +246,7 @@ class score:
self.completed = 2
self.rankedScoreIncrease = 0
self.oldPersonalBest = 0
elif b.rankedStatus == rankedStatus.LOVED:
elif b.rankedStatus == rankedStatuses.LOVED:
if self.score > personalBest["score"]:
# New best score
self.completed = 3

View File

@ -235,7 +235,7 @@ class score:
self.oldPersonalBest = 0
else:
# Compare personal best's score with current score
if b.rankedStatus == rankedStatus.RANKED:
if b.rankedStatus == rankedStatuses.RANKED:
if self.pp > personalBest["pp"]:
# New best score
self.completed = 3
@ -245,7 +245,7 @@ class score:
self.completed = 2
self.rankedScoreIncrease = 0
self.oldPersonalBest = 0
elif b.rankedStatus == rankedStatus.LOVED:
elif b.rankedStatus == rankedStatuses.LOVED:
if self.score > personalBest["score"]:
# New best score
self.completed = 3