We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b4449a commit 6b9ea03Copy full SHA for 6b9ea03
addons/pandora/ui/components/properties/reference/reference_property.gd
@@ -21,8 +21,7 @@ func _ready() -> void:
21
entity_picker.focus_entered.connect(func(): focused.emit())
22
entity_picker.entity_selected.connect(
23
func(entity:PandoraEntity):
24
- var reference = PandoraReference.new(entity.get_entity_id(), 1 if entity is PandoraCategory else 0)
25
- _property.set_default_value(reference)
+ _property.set_default_value(entity)
26
property_value_changed.emit())
27
28
0 commit comments