Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/beehave-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:
fail-fast: false
max-parallel: 10
matrix:
godot-version: ["4.5.1", "4.6"]
godot-version: ["4.5.1", "4.6.3", "4.7"]

name: "🤖 CI on Godot ${{ matrix.godot-version }}"
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run GDUnit4 tests
uses: MikeSchulze/gdUnit4-action@v1.3.0
uses: MikeSchulze/gdUnit4-action@v1.3.2
with:
godot-version: ${{ matrix.godot-version }}
godot-status: "stable"
Expand Down
2 changes: 1 addition & 1 deletion addons/beehave/nodes/composites/simple_parallel.gd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func _get_configuration_warnings() -> PackedStringArray:
return warnings


func tick(actor, blackboard: Blackboard):
func tick(actor: Node, blackboard: Blackboard) -> int:

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should make return value explicit.

for c in get_children():
var node_index: int = c.get_index()
if node_index == 0 and not main_task_finished:
Expand Down
2 changes: 1 addition & 1 deletion addons/beehave/nodes/decorators/repeater.gd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class_name RepeaterDecorator extends Decorator
var current_count: int = 0


func before_run(actor: Node, blackboard: Blackboard):
func before_run(actor: Node, blackboard: Blackboard) -> void:

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should make return value explicit.

current_count = 0


Expand Down
Loading
Loading