Hide scores window if no score

This commit is contained in:
Gabriel Augendre 2018-05-07 08:53:33 +02:00
parent 3c1669b298
commit 7a8306c829

View file

@ -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: