renamed game.golds into game.keys

This commit is contained in:
pennyrigate 2023-05-08 03:16:41 -04:00
parent bc57ba4171
commit 51a6a6c10d
7 changed files with 14 additions and 15 deletions

View file

@ -30,7 +30,7 @@ func _physics_process(delta):
if Input.is_action_just_pressed("restart"):
Game.call_deferred("restart_level")
if Game.golds == 50 && Game.shards == 5:
if Game.keys == 50 && Game.shards == 5:
#Time bonus
collectible_bonus = true
#Time bonus