From 39de925a664c402e39ca52ce572634145edd5e1b Mon Sep 17 00:00:00 2001 From: bleeptrack Date: Tue, 27 Oct 2020 11:38:04 +0100 Subject: [PATCH] No pop sound on hidden blob --- scenes/node.gd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scenes/node.gd b/scenes/node.gd index 1a5a382..5c1a26a 100644 --- a/scenes/node.gd +++ b/scenes/node.gd @@ -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: