diff --git a/scenes/interfaces/menu_options/menu_options.gd b/scenes/interfaces/menu_options/menu_options.gd new file mode 100644 index 0000000..2dbdc54 --- /dev/null +++ b/scenes/interfaces/menu_options/menu_options.gd @@ -0,0 +1,56 @@ +extends Control + + +signal quit_pressed +signal mute_pressed + + +func _ready(): + #get_node("option_settings").connect("mute_pressed", self, "_on_control_mute_pressed") + MusicManager.connect("mute_pressed", self, "_on_signal_mute_pressed") + MusicManager.connect_ext_func( "mute_pressed", self , "_on_signal_mute_pressed") + $option_settings.connect( "mute_pressed", self, "_on_signal_mute_pressed" ) + $option_settings.connect_ext_func( "mute_pressed", self, "_on_signal_mute_pressed" ) + update_sound_button() + + +func _on_signal_mute_pressed(): + Config.msg_debug("