From 3f6049c35599175827584e338b4f0616cc42b023 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sun, 9 Nov 2025 13:38:42 +0100 Subject: [PATCH] Clean code --- tello_sim/ursina_adapter.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tello_sim/ursina_adapter.py b/tello_sim/ursina_adapter.py index c072add..b5f951d 100644 --- a/tello_sim/ursina_adapter.py +++ b/tello_sim/ursina_adapter.py @@ -923,8 +923,6 @@ class UrsinaAdapter(): if self.stream_active: self.capture_frame() - - if not moving: self.pitch_angle = 0 # Reset pitch when not moving