Skip to content

Commit

Permalink
fixed timer reset
Browse files Browse the repository at this point in the history
  • Loading branch information
GTcreyon committed Apr 10, 2022
1 parent 5b4ecba commit dd0946a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actors/player/player.gd
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ func _physics_process(_delta):
if Input.is_action_just_pressed("reset"):
Singleton.get_node("Timer").frames = 0
Singleton.get_node("Timer").split_frames = 0
Singleton.get_node("Timer").running = true
Singleton.set_location = Vector2(110, 153)
Singleton.reset_all_coindicts()
Singleton.warp_to("res://scenes/tutorial_1/tutorial_1_1.tscn")
Expand Down

0 comments on commit dd0946a

Please sign in to comment.