changed the menu text to let players know when a pack is being created (so they dont think it crashes)

This commit is contained in:
JHDev2006
2025-10-23 20:41:07 +01:00
parent 22a1af89d4
commit d7f56f7678
3 changed files with 16 additions and 2 deletions

View File

@@ -19,4 +19,11 @@ func handle_inputs() -> void:
if Input.is_action_just_pressed("ui_accept"):
button_pressed.emit()
if press_sfx != "":
AudioManager.play_global_sfx(press_sfx)
play_sfx()
func play_sfx(sfx := press_sfx) -> void:
await get_tree().process_frame
AudioManager.play_global_sfx(sfx)
func set_title(text := "") -> void:
title = text