Sound updated

This commit is contained in:
Nicholas 2025-05-23 16:30:41 +01:00
parent f8c2e7b2a1
commit b4aa41b5b4

View File

@ -16,7 +16,7 @@ func _ready() -> void:
func collect():
print("Collected crystal")
value += addAmount
if randf() > 0.5:
if value != 100.0:
Player.stream = load("res://collectables/crystal/sounds/Picked Coin Echo.wav")
else:
Player.stream = load("res://collectables/crystal/sounds/Picked Coin Echo 2.wav")