Hide scores window if no score
This commit is contained in:
parent
3c1669b298
commit
7a8306c829
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -62,8 +62,8 @@ 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
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in a new issue