Nothing personnel, milliseconds...

This commit is contained in:
Haze Weathers 2023-10-10 12:49:28 -04:00
parent b8d9a9e935
commit 314b365f7f
6 changed files with 23 additions and 10 deletions

View file

@ -20,9 +20,11 @@ func _ready():
Fade.connect("fade_finished", Game, "set", ["can_pause", true], CONNECT_ONESHOT)
Audio.play_music(music)
Game.time = 0.0
Game.still_playing = true
func _physics_process(delta):
Game.time += delta
if Game.still_playing:
Game.time += delta
if Debug.entry == false && Game.can_pause:
#Pause
if Input.is_action_just_pressed("pause") && !get_tree().paused: