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

Bug: The goal on the agent isn't cleared when a goal is completed #109

Closed
crashkonijn opened this issue Nov 16, 2023 · 0 comments · Fixed by #112
Closed

Bug: The goal on the agent isn't cleared when a goal is completed #109

crashkonijn opened this issue Nov 16, 2023 · 0 comments · Fixed by #112
Labels

Comments

@crashkonijn
Copy link
Owner

Describe the bug
When a goal is completed, the goal isn't cleared before the OnGoalCompleted event is being called. If the same goal is being set on the agent again it stops processing (it's the same goal) and this is confusing.

Clearing this could end up in a loop (with a frame delay), but is much more clear in what's happening.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Wait for a goal to complete
  2. In the OnGoalCompleted handler set the same goal again

Expected behavior
It would be better if the goal is cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant