diff --git a/UI/Components/OverrideEditorSettingsMenu/OverrideEditorSettingsMenu.gd b/UI/Components/OverrideEditorSettingsMenu/OverrideEditorSettingsMenu.gd index 5d4c0b6..eed5cee 100644 --- a/UI/Components/OverrideEditorSettingsMenu/OverrideEditorSettingsMenu.gd +++ b/UI/Components/OverrideEditorSettingsMenu/OverrideEditorSettingsMenu.gd @@ -9,8 +9,9 @@ const ITEM_SCENE := preload("res://UI/Components/OverrideEditorSettingsMenu/Over func _ready() -> void: new_override_button.pressed.connect( - add_item.bind(ITEM_SCENE.instantiate()) - ) + func(): + add_item(ITEM_SCENE.instantiate()) + ) func add_item(item: OverrideEditorSettingsMenuItem) -> void: