mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-24 16:30:53 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user