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 missing subject when teaching #56559

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

dseguin
Copy link
Member

@dseguin dseguin commented Apr 3, 2022

Summary

None

Purpose of change

The issue is only related to the completion of the teaching activity when checking the subject's name, and doesn't affect the actual training.

Describe the solution

Check for subjects other than skills to determine the subject's name.

Describe alternatives you've considered

Testing

Following the steps in the linked issue:

teach_menu
teach_msg

No debug prompts, log messages are printed as expected.

Additional context

Original implementation (and bug) from #51634.

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Apr 3, 2022
@kevingranade kevingranade merged commit 64c0af7 into CleverRaven:master Apr 6, 2022
@dseguin dseguin deleted the fix_teach_msg branch April 6, 2022 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error report "teach_finish without a vaild skill or style or spell name"
2 participants