diff --git a/addons/menu-system/AudioSlider.gd b/addons/menu-system/AudioSlider.gd index f74a92a..aa7859b 100644 --- a/addons/menu-system/AudioSlider.gd +++ b/addons/menu-system/AudioSlider.gd @@ -2,10 +2,10 @@ class_name AudioSlider extends HSlider @export var bus_name := "Master" +@export var vol_range = 40 +@export var vol_offset = 5 var master_id -var vol_range = 60 -var vol_offset = 5 func _ready(): master_id = AudioServer.get_bus_index(bus_name) diff --git a/src/menu/Options.tscn b/src/menu/Options.tscn index 924b459..1baeb8f 100644 --- a/src/menu/Options.tscn +++ b/src/menu/Options.tscn @@ -45,6 +45,7 @@ layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 4 script = ExtResource("1") +vol_offset = 0 [node name="Control" type="Control" parent="CenterContainer/VBoxContainer/Options"] custom_minimum_size = Vector2(0, 10)