Hide scores window if no score

master
Gabriel Augendre 4 years ago
parent 3c1669b298
commit 7a8306c829
  1. 4
      main.py

@ -62,8 +62,8 @@ def main():
screen.fill(FONT_COLOR, pygame.Rect(0, MAP_RESOLUTION[1], MAP_RESOLUTION[0], 5))
pygame.display.flip()
display_scores(scores)
if scores:
display_scores(scores)
# Main game loop
while True:

Loading…
Cancel
Save