elukjanovica 2024-06-10 08:46:09 +03:00
parent 0edd1500da
commit 908015040c
1 changed files with 5 additions and 1 deletions

View File

@ -1206,7 +1206,7 @@ while run:
for button in current_buttons:
button.draw(screen)
clock.tick(FPS)
if current_mode == "menu":
@ -1221,6 +1221,10 @@ while run:
selected_image.render(screen)
except (AttributeError, NameError):
pass
for button in current_buttons:
if button.popup_surface:
screen.blit(button.popup_surface, button.popup_rect.topleft)
event_list = pygame.event.get()