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

Dont override actor in _ready if already defined #307

Merged
merged 1 commit into from
Feb 8, 2024
Merged

Dont override actor in _ready if already defined #307

merged 1 commit into from
Feb 8, 2024

Conversation

LunarTides
Copy link
Contributor

Description

If you set the actor in BeehaveTree before _ready is executed, it would override the actor that you set.

Now it only sets the actor if it isn't already set.

Addressed issues

  • None

Screenshots

N/A

@bitbrain
Copy link
Owner

bitbrain commented Feb 7, 2024

Could you add a test for this? Happy to help in case you don't know how.

@LunarTides
Copy link
Contributor Author

Done

@bitbrain
Copy link
Owner

bitbrain commented Feb 8, 2024

Thank you for your contribution.

@bitbrain bitbrain merged commit f877108 into bitbrain:godot-4.x Feb 8, 2024
4 checks passed
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.

None yet

2 participants