forked from team-sg/hero-mark-2
renamed game.golds into game.keys
This commit is contained in:
parent
bc57ba4171
commit
51a6a6c10d
7 changed files with 14 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue