Don't delay sound for so long after loading a level

This commit is contained in:
Sebastian Morr 2020-10-22 18:05:25 +02:00
parent af0d7928ef
commit 3a0d0452d8

View file

@ -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")