diff options
author | Hop311 <hop3114@gmail.com> | 2023-06-10 21:48:17 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-06-23 22:33:15 +0200 |
commit | 206cafc8bba310e4d4f35f4898ef3ac289abe81a (patch) | |
tree | a662b03f0f3af03b0892e2c9987c4ae128e5790f /game/src/Game/Menu/OptionMenu/SoundTab.gd | |
parent | 6e26b948ea2a7632bcb7b795fe78f7169477eb6a (diff) |
Localisation and UI focus cleanup
Updated Russian localisation
Resolution, window_mode, monitor refactor
Locale based number formatting
Diffstat (limited to 'game/src/Game/Menu/OptionMenu/SoundTab.gd')
-rw-r--r-- | game/src/Game/Menu/OptionMenu/SoundTab.gd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/game/src/Game/Menu/OptionMenu/SoundTab.gd b/game/src/Game/Menu/OptionMenu/SoundTab.gd index c707605..e0d9bcf 100644 --- a/game/src/Game/Menu/OptionMenu/SoundTab.gd +++ b/game/src/Game/Menu/OptionMenu/SoundTab.gd @@ -1,4 +1,6 @@ extends HBoxContainer -func _on_ear_exploder_toggled(button_pressed): - print("KABOOM!!!" if button_pressed else "DEFUSED!!!") +@export var _startup_music_button : Button + +func _ready(): + _startup_music_button.option_selected.connect(func (pressed : bool, by_user : bool): MusicConductor.set_startup_music(pressed)) |