diff --git a/main.py b/main.py index 94c0843..e8e64da 100644 --- a/main.py +++ b/main.py @@ -76,7 +76,7 @@ case_images = {} def touch(event): global touch_start, touch_start_time - if event.type == pygame.FINGERDOWN: + if event.type == pygame.FINGERDOWN and not touch_start: touch_start = (event.x * SCREEN_WIDTH, event.y * SCREEN_HEIGHT) touch_start_time = time.time() return None