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,8 +18,9 @@ var arrow = preload("res://scenes/arrow.tscn")
func _ready():
content_set(content)
type_set(type)
$Pop.pitch_scale = rand_range(0.8, 1.2)
$Pop.play()
if not repository.simplified_view:
$Pop.pitch_scale = rand_range(0.8, 1.2)
$Pop.play()
func _process(_delta):
if held: