player.gd refactor progress
This commit is contained in:
@@ -6,7 +6,7 @@ func tick(actor: Node, blackboard: Blackboard) -> int:
|
||||
return FAILURE
|
||||
|
||||
# Always return SUCCESS for bots in non-turn-based mode
|
||||
if actor.is_bot and not main.turn_based_mode:
|
||||
if actor.is_bot and not TurnManager.turn_based_mode:
|
||||
return SUCCESS
|
||||
|
||||
# Update action points in blackboard
|
||||
|
||||
Reference in New Issue
Block a user