mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-20 16:20:18 +01:00
No pop sound on hidden blob
This commit is contained in:
parent
448ed89ead
commit
39de925a66
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue