From 116981cdaf06077a66ccba4f8c04dfad49a084ab Mon Sep 17 00:00:00 2001 From: Lurkars Date: Fri, 26 Jul 2019 13:32:31 +0200 Subject: [PATCH] autogit test 10 --- scripts/player/bot_controls.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/player/bot_controls.gd b/scripts/player/bot_controls.gd index c844af3..b565ab1 100644 --- a/scripts/player/bot_controls.gd +++ b/scripts/player/bot_controls.gd @@ -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 \ No newline at end of file