mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
Always play pop sounds for commits and refs
This commit is contained in:
parent
c53f6aa009
commit
8548074be4
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue