diff --git a/gobigger/bin/play.py b/gobigger/bin/play.py index 04f0d82..86fe137 100644 --- a/gobigger/bin/play.py +++ b/gobigger/bin/play.py @@ -174,6 +174,7 @@ def play_control_by_keyboard_partial(): for i in range(100000): actions = None x, y = None, None + action_type = -1 # ================ control by keyboard =============== for event in pygame.event.get(): if event.type == pygame.KEYDOWN: