value variable obselete, removed

This commit is contained in:
pennyrigate 2023-06-30 18:04:40 -04:00
parent 5748c48c71
commit b80a218f04
2 changed files with 2 additions and 5 deletions

View file

@ -1,7 +1,5 @@
extends Node2D
export var value = 1
func _ready():
#Sync all coinframes
$AnimatedSprite.play()
@ -10,7 +8,7 @@ func _ready():
func _on_Area2D_body_entered(body: Node) -> void:
#Collect
if body.is_in_group("player"):
Game.keys += value
Game.keys += 1
Game.score += 5
Audio.play_sound(Audio.a_gold,Audio.ac_collectible)
queue_free()