atomic-junky / Monologue

Create your dialogues for your game
https://atomic-junky.itch.io/monologue
MIT License
11 stars 2 forks source link

Fix SentenceNodePanel not updating speaker_id #2

Closed RailKill closed 6 months ago

RailKill commented 6 months ago

I found a bug in the SentenceNodePanel, it does not update the speaker_id when a new speaker is selected. It's just a one line fix, so I went ahead and added it because it was affecting my use. Seems like you were also adding more stuff for v2.1.2, great work!

Steps to reproduce:

  1. Add two characters in the root node
  2. Add SentenceNode
  3. Click SentenceNode to open the SentenceNodePanel, change the speaker to the second character
  4. Close and open the panel again, it will reset back to the first character, doesn't matter if you click Save or Test also