mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-20 16:20:18 +01:00
Don't delay sound for so long after loading a level
This commit is contained in:
parent
af0d7928ef
commit
3a0d0452d8
1 changed files with 1 additions and 1 deletions
2
main.gd
2
main.gd
|
@ -93,7 +93,7 @@ func load_level(level_id):
|
||||||
# Unmute the audio after a while, so that player can hear pop sounds for
|
# Unmute the audio after a while, so that player can hear pop sounds for
|
||||||
# nodes they create.
|
# nodes they create.
|
||||||
var t = Timer.new()
|
var t = Timer.new()
|
||||||
t.wait_time = 3
|
t.wait_time = 1
|
||||||
add_child(t)
|
add_child(t)
|
||||||
t.start()
|
t.start()
|
||||||
yield(t, "timeout")
|
yield(t, "timeout")
|
||||||
|
|
Loading…
Reference in a new issue