Fix GroupedStateMachine reset

This commit is contained in:
Silc Lizard (Tokage) Renew 2023-09-30 10:37:35 +09:00
parent 44e399ed5f
commit 599f0dbf97
1 changed files with 1 additions and 1 deletions

View File

@ -690,9 +690,9 @@ double AnimationNodeStateMachinePlayback::_process(const String &p_base_path, An
if (p_state_machine->get_state_machine_type() != AnimationNodeStateMachine::STATE_MACHINE_TYPE_GROUPED) {
path.clear();
_clear_path_children(tree, p_state_machine, p_test_only);
_start(p_state_machine);
}
reset_request = true;
_start(p_state_machine);
} else {
// Reset current state.
reset_request = true;