更新 'game_functions.py'

This commit is contained in:
206530211 2021-06-21 17:50:38 +08:00
parent 8da1ba7be0
commit eeb316973c
1 changed files with 3 additions and 1 deletions

View File

@ -38,4 +38,6 @@ def check_keyup_events(event, ship):
elif event.key == pygame.K_LEFT:
ship.moving_left = False
elif event.key == pygame.K_UP:
ship.moving_up = False
ship.moving_up = False
elif event.key == pygame.K_DOWN:
ship.moving_down = False