No pop sound on hidden blob

This commit is contained in:
bleeptrack 2020-10-27 11:38:04 +01:00
parent 448ed89ead
commit 39de925a66

View file

@ -18,6 +18,7 @@ var arrow = preload("res://scenes/arrow.tscn")
func _ready(): func _ready():
content_set(content) content_set(content)
type_set(type) type_set(type)
if not repository.simplified_view:
$Pop.pitch_scale = rand_range(0.8, 1.2) $Pop.pitch_scale = rand_range(0.8, 1.2)
$Pop.play() $Pop.play()