aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts
diff options
context:
space:
mode:
authorLibravatar perivesta <>2023-07-09 14:50:12 +0200
committerLibravatar perivesta <>2023-07-09 14:50:12 +0200
commit4ae478e5725b028507585a2a3267369b40796560 (patch)
tree1e057642f0a1cc3b16d8b4a7a34a8cda4d48291a /Scripts
parent420b84da5f73084b51c78e9bdae9881cad67ef21 (diff)
parentf1677fac1f7c7989a28d078498357c88f9f631f3 (diff)
download2023-4ae478e5725b028507585a2a3267369b40796560.tar.gz
2023-4ae478e5725b028507585a2a3267369b40796560.tar.bz2
2023-4ae478e5725b028507585a2a3267369b40796560.zip
Merge branch 'master' of bunny.garden:jam/gmtk/2023
Diffstat (limited to 'Scripts')
-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():