Hide scores window if no score
This commit is contained in:
parent
3c1669b298
commit
7a8306c829
1 changed files with 2 additions and 2 deletions
2
main.py
2
main.py
|
@ -62,7 +62,7 @@ def main():
|
||||||
screen.fill(FONT_COLOR, pygame.Rect(0, MAP_RESOLUTION[1], MAP_RESOLUTION[0], 5))
|
screen.fill(FONT_COLOR, pygame.Rect(0, MAP_RESOLUTION[1], MAP_RESOLUTION[0], 5))
|
||||||
|
|
||||||
pygame.display.flip()
|
pygame.display.flip()
|
||||||
|
if scores:
|
||||||
display_scores(scores)
|
display_scores(scores)
|
||||||
|
|
||||||
# Main game loop
|
# Main game loop
|
||||||
|
|
Loading…
Reference in a new issue