fix OverrideEditorSettingsMenu not being able to instance item more than once
This commit is contained in:
parent
c3fd701491
commit
86441354a3
@ -9,8 +9,9 @@ const ITEM_SCENE := preload("res://UI/Components/OverrideEditorSettingsMenu/Over
|
|||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
new_override_button.pressed.connect(
|
new_override_button.pressed.connect(
|
||||||
add_item.bind(ITEM_SCENE.instantiate())
|
func():
|
||||||
)
|
add_item(ITEM_SCENE.instantiate())
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
func add_item(item: OverrideEditorSettingsMenuItem) -> void:
|
func add_item(item: OverrideEditorSettingsMenuItem) -> void:
|
||||||
|
Loading…
Reference in New Issue
Block a user