fix keyboard sfx playing
This commit is contained in:
parent
95eb1ebd58
commit
78667ade3d
@ -64,10 +64,11 @@ func _ready() -> void:
|
|||||||
if Engine.is_editor_hint():
|
if Engine.is_editor_hint():
|
||||||
_generate_editor_keys()
|
_generate_editor_keys()
|
||||||
return
|
return
|
||||||
_polyphonic = _sfx_player.get_stream_playback()
|
|
||||||
prompt_pages_total = ceili(LayoutConfig.layouts.size() / 9.0)
|
prompt_pages_total = ceili(LayoutConfig.layouts.size() / 9.0)
|
||||||
_generate_game_keys()
|
_generate_game_keys()
|
||||||
_reset_animations()
|
_reset_animations()
|
||||||
|
_sfx_player.play()
|
||||||
|
_polyphonic = _sfx_player.get_stream_playback()
|
||||||
|
|
||||||
|
|
||||||
func _process(delta: float) -> void:
|
func _process(delta: float) -> void:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user