fix collectibles not working

This commit is contained in:
Haze Weathers 2023-05-16 23:25:19 -04:00
parent ca947c2f09
commit 8d2c0248e1
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ func _set_color(value):
func _on_Area2D_body_entered(body):
#Collect
if body.is_in_group("player_hitbox"):
if body.is_in_group("player"):
Audio.play_sound(Audio.a_star,Audio.ac_collectible)
Game.score += 100
Game.stars[color] = true