Update flipping logic for auto mode

This commit is contained in:
Lncvrt committed 2024-12-13 22:48:09 -07:00
1 parent f09eb860eb
commit aba346e571
1 file changed
+3
+3
View File
@@ -196,6 +196,9 @@ def game_loop():
player_x = (WIDTH - player_width) // 2
food_x = random.randint(0, WIDTH - food_width)
food_y = 0
if flipped:
player_image = pygame.transform.flip(player_image, True, False)
flipped = False
auto_mode = False
if not auto_mode: