TeamSyndi / syndibox

SyndiBox - A powerful text engine for dialog-heavy Godot projects
MIT License
91 stars 9 forks source link

[BUG] Dialog advancement (auto and non-auto) broken. #2

Closed Sudospective closed 4 years ago

Sudospective commented 4 years ago

Describe the bug When using more than one string of dialog, any advancement to the next string is non-functional.

To Reproduce Steps to reproduce the behavior:

  1. Type two or more lines of dialog in the Dialog property.
  2. Play Scene.
  3. Dialog does not advance to next string.
  4. Test with both auto and non-auto advance.

Expected behavior Dialog should advance to the next string in sequence.

Desktop (please complete the following information):

Sudospective commented 4 years ago

I think this is due to the a line of code that frees the children of the cur_char dictionary, which is a draw method. This should probably be changed to remove_child or something similar instead.

Sudospective commented 4 years ago

Issue fixed in stable branch.