it seems im having a brainlet moment or 2 here
This commit is contained in:
parent
81b44e19fe
commit
cb9bd6cb5d
|
@ -236,7 +236,7 @@ class score:
|
||||||
self.oldPersonalBest = 0
|
self.oldPersonalBest = 0
|
||||||
else:
|
else:
|
||||||
# Compare personal best's score with current score
|
# Compare personal best's score with current score
|
||||||
if b.rankedStatus == rankedStatus.RANKED:
|
if b.rankedStatus == rankedStatuses.RANKED:
|
||||||
if self.pp > personalBest["pp"]:
|
if self.pp > personalBest["pp"]:
|
||||||
# New best score
|
# New best score
|
||||||
self.completed = 3
|
self.completed = 3
|
||||||
|
@ -246,7 +246,7 @@ class score:
|
||||||
self.completed = 2
|
self.completed = 2
|
||||||
self.rankedScoreIncrease = 0
|
self.rankedScoreIncrease = 0
|
||||||
self.oldPersonalBest = 0
|
self.oldPersonalBest = 0
|
||||||
elif b.rankedStatus == rankedStatus.LOVED:
|
elif b.rankedStatus == rankedStatuses.LOVED:
|
||||||
if self.score > personalBest["score"]:
|
if self.score > personalBest["score"]:
|
||||||
# New best score
|
# New best score
|
||||||
self.completed = 3
|
self.completed = 3
|
||||||
|
|
|
@ -235,7 +235,7 @@ class score:
|
||||||
self.oldPersonalBest = 0
|
self.oldPersonalBest = 0
|
||||||
else:
|
else:
|
||||||
# Compare personal best's score with current score
|
# Compare personal best's score with current score
|
||||||
if b.rankedStatus == rankedStatus.RANKED:
|
if b.rankedStatus == rankedStatuses.RANKED:
|
||||||
if self.pp > personalBest["pp"]:
|
if self.pp > personalBest["pp"]:
|
||||||
# New best score
|
# New best score
|
||||||
self.completed = 3
|
self.completed = 3
|
||||||
|
@ -245,7 +245,7 @@ class score:
|
||||||
self.completed = 2
|
self.completed = 2
|
||||||
self.rankedScoreIncrease = 0
|
self.rankedScoreIncrease = 0
|
||||||
self.oldPersonalBest = 0
|
self.oldPersonalBest = 0
|
||||||
elif b.rankedStatus == rankedStatus.LOVED:
|
elif b.rankedStatus == rankedStatuses.LOVED:
|
||||||
if self.score > personalBest["score"]:
|
if self.score > personalBest["score"]:
|
||||||
# New best score
|
# New best score
|
||||||
self.completed = 3
|
self.completed = 3
|
||||||
|
|
Reference in New Issue
Block a user