Skip to content

Commit

Permalink
Scripts & assets for TrannosRun
Browse files Browse the repository at this point in the history
  • Loading branch information
LabeledZed committed Oct 25, 2022
1 parent cff98ff commit f81fccf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/trgame.pyw
Expand Up @@ -415,11 +415,11 @@ def startgame():

with open(highscorecoords) as f:
tempscore = int(f.read())
if tempscore < gscore:
endtext = "New high score: " + str(gscore)
if gscore == tempscore:
if 0 == tempscore:
Label(pgame, text="(Tip: Press Spacebar to play again)", background='#87807E',
font=('Arial', 14, "bold"), foreground='#ffff00').pack()
if tempscore < gscore:
endtext = "New high score: " + str(gscore)
with open(highscorecoords, 'w') as f:
with redirect_stdout(f):
print(gscore)
Expand Down

0 comments on commit f81fccf

Please sign in to comment.