diff --git a/remote_control/position_controller.py b/remote_control/position_controller.py index 472a9f6..3c5b318 100644 --- a/remote_control/position_controller.py +++ b/remote_control/position_controller.py @@ -422,6 +422,8 @@ class RemoteController: auto_control = not auto_control if auto_control: self.target = targets[current_target] + elif event.key == pygame.QUIT: + sys.exit(0) if self.controlling: