Scoreboard still not saving past the first position.
This commit is contained in:
parent
ae93e02e69
commit
dd350c0285
@ -42,7 +42,7 @@ class scoreboard():
|
|||||||
try:
|
try:
|
||||||
localConfig.add_section("scoreboard")
|
localConfig.add_section("scoreboard")
|
||||||
except:
|
except:
|
||||||
speak("Could not create scoreboard.")
|
pass
|
||||||
self.score = startingScore
|
self.score = startingScore
|
||||||
self.oldScores = []
|
self.oldScores = []
|
||||||
for i in range(1, 11):
|
for i in range(1, 11):
|
||||||
@ -60,7 +60,7 @@ class scoreboard():
|
|||||||
try:
|
try:
|
||||||
write_config()
|
write_config()
|
||||||
except:
|
except:
|
||||||
speak("Could not update configuration file."
|
pass
|
||||||
|
|
||||||
def Decrease_Score(self, points = 1):
|
def Decrease_Score(self, points = 1):
|
||||||
self.score -= points
|
self.score -= points
|
||||||
|
Loading…
Reference in New Issue
Block a user