bitbrain / beehave

🐝 behavior tree AI for Godot Engine
https://bitbra.in/beehave
MIT License
1.85k stars 116 forks source link

Dont override actor in _ready if already defined #307

Closed LunarTides closed 7 months ago

LunarTides commented 7 months ago

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

Screenshots

N/A

bitbrain commented 7 months ago

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

LunarTides commented 7 months ago

Done

bitbrain commented 7 months ago

Thank you for your contribution.