|
|
@ -31,7 +31,7 @@ func _physics_process(delta): |
|
|
|
speed_constrain = min(speed_constrain, constrain.z) |
|
|
|
road = player.route.get_road(road.get_index() + 1) |
|
|
|
road_index += 1 |
|
|
|
|
|
|
|
|
|
|
|
var speed = player.current_speed |
|
|
|
if speed_constrain < 0: |
|
|
|
player.thrust = 1 |
|
|
@ -53,4 +53,4 @@ func set_error_rate(new_error_rate:float): |
|
|
|
|
|
|
|
|
|
|
|
func set_underspeed_rate(new_underspeed_rate:float): |
|
|
|
underspeed_rate = new_underspeed_rate |
|
|
|
underspeed_rate = new_underspeed_rate |