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: Improve chat screen handling for game messages #2139

Merged
merged 2 commits into from Sep 29, 2023

Conversation

magicus
Copy link
Member

@magicus magicus commented Sep 29, 2023

This fixes #1951. The problem was that the message "As you touch..." behaved in the same way as NPC dialogue (it disappeared and should not be stored as the last real chat line), but we did not detect it as such.

This entire code is somewhat finicky, but I believe this is a robust enough fix.

Also fixed so last real chat line (and others) get reset when reconnecting.

Also added junit test junk files to .gitignore...

@magicus magicus requested a review from a team as a code owner September 29, 2023 09:36
@Mcrtin
Copy link
Contributor

Mcrtin commented Sep 29, 2023

Thx! seems straightforward.

@magicus magicus added this pull request to the merge queue Sep 29, 2023
Merged via the queue into Wynntils:main with commit 284f9e9 Sep 29, 2023
1 of 2 checks passed
@magicus magicus deleted the game-message-fix branch September 29, 2023 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mysterious Obelisk message doesn't count as dialogue
3 participants