Skip to content

Commit

Permalink
Update Helpers.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
HollowHorizon committed Feb 6, 2024
1 parent 3762004 commit 7637e29
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class ChainNode(val nodes: ArrayList<Node>): Node() {
val isEnded get() = index >= nodes.size

override fun tick(): Boolean {
if(isEnded) return false
if(!nodes[index].tick()) index++
return !isEnded
}
Expand Down

0 comments on commit 7637e29

Please sign in to comment.