|
@@ -3778,8 +3778,9 @@ def main():
|
3778
|
3778
|
jumping = True
|
3779
|
3779
|
if grindHit == False:
|
3780
|
3780
|
cont.deactivate(own.actuators['grindoutRight'])
|
3781
|
|
- cont.deactivate(own.actuators['grindoutLeft'])
|
3782
|
|
- if (grindHit == True and jumping == None and sincegrinding > 20)or own['invert_on'] == True:
|
|
3781
|
+ cont.deactivate(own.actuators['grindoutLeft'])
|
|
3782
|
+ #ground_since = own["framenum"] - own['lF_air_frame']
|
|
3783
|
+ if (grindHit == True and jumping == None and sincegrinding > 20 and ground_since > 20)or own['invert_on'] == True:
|
3783
|
3784
|
outloc = 0.022
|
3784
|
3785
|
bsoutloc = .07
|
3785
|
3786
|
bsoutvel = .1
|