aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/Menu/OptionMenu/SettingNodes
diff options
context:
space:
mode:
author BrickPi <49528459+BrickPi@users.noreply.github.com>2023-07-06 22:36:49 +0200
committer GitHub <noreply@github.com>2023-07-06 22:36:49 +0200
commit5838c2508682bc3f6e35e44056f9ba229bca4571 (patch)
treef81a638162670bbb817b7b8d49ea2717ed3d3c4f /game/src/Game/Menu/OptionMenu/SettingNodes
parent432000a3ab73980fc6421b3587de4b97af30d3ad (diff)
parent18ff6fb2fa03335d8a42440aec9f0dcb77f42c3a (diff)
Merge pull request #134 from OpenVicProject/godot-4.1
Update to Godot 4.1
Diffstat (limited to 'game/src/Game/Menu/OptionMenu/SettingNodes')
-rw-r--r--game/src/Game/Menu/OptionMenu/SettingNodes/SettingCheckBox.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/Menu/OptionMenu/SettingNodes/SettingCheckBox.gd b/game/src/Game/Menu/OptionMenu/SettingNodes/SettingCheckBox.gd
index fcc411e..344a2b5 100644
--- a/game/src/Game/Menu/OptionMenu/SettingNodes/SettingCheckBox.gd
+++ b/game/src/Game/Menu/OptionMenu/SettingNodes/SettingCheckBox.gd
@@ -19,7 +19,7 @@ func _ready():
Events.Options.load_settings.connect(load_setting)
Events.Options.save_settings.connect(save_setting)
Events.Options.reset_settings.connect(reset_setting)
- toggled.connect(func(pressed : bool): option_selected.emit(pressed, true))
+ toggled.connect(func(p : bool): option_selected.emit(p, true))
_setup_button()
func _set_value_from_file(load_value) -> void: