-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Character name as variable in response option results in malformed response text #553
Comments
That's weird :) Because here I am attaching minimal reproduction project, where I isolated the issue. |
Yeah you're missing the line that was added to fix this issue a little while ago: https://github.com/nathanhoad/godot_dialogue_manager/blob/main/addons/dialogue_manager/dialogue_manager.gd#L145 That does present a different problem though - somehow the swapping of files on update isn't working properly any more. |
Actually, to the MRP the plugin was obtained through asset store. So there was no update path. Therefore I am guessing the fix is missing in the released version? |
Oh wow I'm an idiot - turns out the fix hasn't actually been released yet. Here I was about to tear the auto-update apart trying to find out why it wasn't working. I'll do a release now. Thanks for pointing me to the actual problem 👍 |
I just released v2.39.0 and verified that upgrading fixes the issue in that MRP project. |
Great, I am glad I could help. Thank you for the great plugin! |
Describe the bug
When using shortened version of writing a response option where you write character name followed with response text on the same line and writing the character name as a variable will result in the character name being added at the end of the text with some of the response repeated.
Example:
Result:
DialogueResponse.text = "That's good to hear!Character1good to hear"
However, writing the responses in "long-form" works as expected:
Affected version
Expected behavior
Response prompt should not include character name from a variable in the malformed response text.
The text was updated successfully, but these errors were encountered: