Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions addons/beehave/nodes/beehave_tree.gd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ signal tree_disabled
return enabled

@export_node_path var actor_node_path : NodePath
@export var blackboard:Blackboard
@export var blackboard:Blackboard = Blackboard.new()

var actor : Node
var status : int = -1
Expand All @@ -43,9 +43,6 @@ func _ready() -> void:
push_error("Beehave error: Root %s should have one child (NodePath: %s)" % [self.name, self.get_path()])
disable()
return

if not blackboard:
blackboard = Blackboard.new()

actor = get_parent()
if actor_node_path:
Expand Down