Parcourir la source

fix for #87 - reverts

shuvit il y a 5 ans
Parent
révision
848efc2b82
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      controller2.py

+ 1
- 1
controller2.py Voir le fichier

@@ -2734,7 +2734,7 @@ def main():
2734 2734
 
2735 2735
     own['set_revert_timer'] = 0
2736 2736
     ground_since = own["framenum"] - own['lF_air_frame']
2737
-    if ground_since > 80 and frames_since_grinding > 40:
2737
+    if ground_since > 80 and frames_since_grinding > 40 and rLR > -turnsens and rLR < turnsens and rUD > -turnsens and rUD < turnsens:
2738 2738
 
2739 2739
         if q3oncdl < q4oncdl < q5oncdl < q6oncdl < q7oncdl:
2740 2740
             if r_ground.triggered == True:

Loading…
Annuler
Enregistrer