From 818f5ef03baa353b96aadd5b100c1f6ca6b7fedb Mon Sep 17 00:00:00 2001 From: Logan Date: Thu, 2 Feb 2023 02:52:52 -0700 Subject: Improve characteristics of pausemenu --- scripts/global_variables.gd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/global_variables.gd') 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 -- cgit v1.2.3