mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +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():
|
func _ready():
|
||||||
content_set(content)
|
content_set(content)
|
||||||
type_set(type)
|
type_set(type)
|
||||||
$Pop.pitch_scale = rand_range(0.8, 1.2)
|
if not repository.simplified_view:
|
||||||
$Pop.play()
|
$Pop.pitch_scale = rand_range(0.8, 1.2)
|
||||||
|
$Pop.play()
|
||||||
|
|
||||||
func _process(_delta):
|
func _process(_delta):
|
||||||
if held:
|
if held:
|
||||||
|
|
Loading…
Reference in a new issue