Browse Source

stop air fix

shuvit 2 months ago
parent
commit
e72bb3a18f
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      scripts/controller2.py

+ 3
- 1
scripts/controller2.py View File

@@ -903,7 +903,7 @@ def main():
903 903
         if onGround:
904 904
             pass
905 905
     def stop():
906
-        if linVelocity.x < .05 and linVelocity.x > -.05:
906
+        if (linVelocity.x < .05 and linVelocity.x > -.05) or onGround == False:
907 907
             can_stop = 0
908 908
             own["lastStop"] = True
909 909
         else:
@@ -3306,6 +3306,8 @@ def main():
3306 3306
         if frame - lif > 3 and own['invert_on'] == 0:
3307 3307
             own['invert_type'] = None
3308 3308
 
3309
+        #print(own['requestAction'])
3310
+
3309 3311
     invert()
3310 3312
     footplant()
3311 3313
     #print(own['invert_on'], 'invert_on')

Loading…
Cancel
Save