fix collectibles not working
This commit is contained in:
parent
ca947c2f09
commit
8d2c0248e1
3 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ func _ready():
|
|||
|
||||
func _on_Area2D_body_entered(body):
|
||||
#Collect
|
||||
if body.is_in_group("player_hitbox"):
|
||||
if body.is_in_group("player"):
|
||||
Audio.play_shard_sound()
|
||||
Game.score += 500
|
||||
Game.shards += value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue