diff --git a/scenes/node.gd b/scenes/node.gd index 16e970e..8cec44a 100644 --- a/scenes/node.gd +++ b/scenes/node.gd @@ -19,7 +19,7 @@ var arrow = preload("res://scenes/arrow.tscn") func _ready(): content_set(content) type_set(type) - if not repository.simplified_view: + if not repository.simplified_view or (type != "tree" and type != "blob"): $Pop.pitch_scale = rand_range(0.8, 1.2) $Pop.play() diff --git a/scenes/shell.gd b/scenes/shell.gd index 3a00b03..be1cc53 100644 --- a/scenes/shell.gd +++ b/scenes/shell.gd @@ -18,7 +18,7 @@ func cd(dir): # Run a shell command given as a string. Run this if you're interested in the # output of the command. func run(command, crash_on_fail=true): - var debug = true + var debug = false if debug: print("$ %s" % command)