summaryrefslogtreecommitdiff
path: root/scripts/global_variables.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/global_variables.gd')
-rw-r--r--scripts/global_variables.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/global_variables.gd b/scripts/global_variables.gd
index f52c06b..4d01ff5 100644
--- a/scripts/global_variables.gd
+++ b/scripts/global_variables.gd
@@ -11,3 +11,7 @@ var volume_music = 0
var volume_music_enabled = true
var volume_sfx = 0
var volume_sfx_enabled = true
+
+func reset_variables():
+ global_variables.score = 0
+ global_variables.timer_zero = false