summaryrefslogtreecommitdiff
path: root/scripts/global_variables.gd
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2023-02-02 02:52:52 -0700
committerLogan <logan@cflip.net>2023-02-02 02:52:52 -0700
commit818f5ef03baa353b96aadd5b100c1f6ca6b7fedb (patch)
tree0b48664d94de5a07198ca5c3088adc7a6dfee7e3 /scripts/global_variables.gd
parentf77c7cca424bf28c0c412c9612bc976dfaf612a5 (diff)
Improve characteristics of pausemenu
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