aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-09 13:12:04 +0200
committerLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-09 13:12:04 +0200
commitf1677fac1f7c7989a28d078498357c88f9f631f3 (patch)
treebe2980b27402003f986fe5c80dbb75ea7fef1044 /Scripts
parent1bdd095785d4b2baa4c11bf981b008ce59ccb75d (diff)
download2023-f1677fac1f7c7989a28d078498357c88f9f631f3.tar.gz
2023-f1677fac1f7c7989a28d078498357c88f9f631f3.tar.bz2
2023-f1677fac1f7c7989a28d078498357c88f9f631f3.zip
miau
Diffstat (limited to '')
-rw-r--r--Scripts/scene_control.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/Scripts/scene_control.gd b/Scripts/scene_control.gd
index f9bc40a..ce3332f 100644
--- a/Scripts/scene_control.gd
+++ b/Scripts/scene_control.gd
@@ -61,6 +61,8 @@ func reset_level():
car.global_position = start.global_position
car.global_rotation = start.rotation;
+ current_time = 0.0
+
set_driving(false)
func start_driving():