AnidemDex / Godot-DialogPlugin

🗨️ A Dialog Node for Godot Engine
MIT License
213 stars 11 forks source link

DialogNode doesn't emmits `option_added` and `option_selected` signal #55

Closed AnidemDex closed 2 years ago

AnidemDex commented 2 years ago

OS

No response

Godot Version

No response

Plugin Version

1.0 (lastest)

Issue description

What titles says.

Steps to reproduce

Connect option_added signal from DialogNode and add an option with DialogNode.add_option. The signal is not emmited.

Thanks to #54 for letting me know this while replicating the issue.

Workaround

Get the options manager and connect the signal form there. DialogNode.options_manager.connect("option_added", self, "_on_option_added")