Skip to content
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

Fix character replacements in response shortcuts #542

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

nathanhoad
Copy link
Owner

This fixes an issue when a character name was a variable in a auto-line response prompt. For example, given this dialogue and assuming player_name was an available variable with a value of "Coco":

Nathan: Here are some responses.
- {{player_name}}: Some response.
- {{player_name}}: Another response.

Previously, this would resolve the prompt text to be something like Some response. Coco but will now correctly resolve to just Some response..

@nathanhoad nathanhoad added the bug Something isn't working label Apr 3, 2024
@nathanhoad nathanhoad merged commit f4446f7 into main Apr 3, 2024
@nathanhoad nathanhoad deleted the fix-character-replacements-in-special-responses branch April 3, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant