Skip to content

Commit 3ad3a6a

Browse files
committed
Fix #34 : template for BTNode is broken
Since #11 : 3D compatibility, the template is broken. Should have an actor of type Node instead of Node2D
1 parent e11b8d3 commit 3ad3a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script_templates/BTNode/default.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
extends _BASE_
22

3-
func tick(actor:Node2D, blackboard:BTBlackboard) -> int:
3+
func tick(actor:Node, blackboard:BTBlackboard) -> int:
44
return BTTickResult.SUCCESS

0 commit comments

Comments
 (0)