update
This commit is contained in:
@@ -7,8 +7,13 @@ func _ready():
|
||||
|
||||
# Only setup for bots
|
||||
if not get_parent().is_in_group("Bots"):
|
||||
queue_free() # Remove tree if not a bot
|
||||
return
|
||||
|
||||
|
||||
# Set this tree's actor
|
||||
actor = get_parent()
|
||||
enabled = true
|
||||
|
||||
# Create root selector
|
||||
var selector = SelectorComposite.new()
|
||||
add_child(selector)
|
||||
|
||||
Reference in New Issue
Block a user