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

@ -2,7 +2,6 @@ extends Node2D
signal collected(shard_number)
export var value = 1
export var number = 0 #Used for saving which specific shards collected
func _ready():
@ -17,6 +16,6 @@ func _on_Area2D_body_entered(body):
emit_signal("collected",number)
Audio.play_shard_sound()
Game.score += 500
Game.shards += value
Game.shards += 1
Game.shards_collected[number] = true
queue_free()