Fix Behavior time to not reset on root loop

This commit is contained in:
2026-04-18 23:22:12 +02:00
parent b6dfd1351d
commit 36157fb01e
-2
View File
@@ -113,8 +113,6 @@ void Behavior::UpdateAsync()
{ {
// Reset State // Reset State
_result = BehaviorUpdateResult::Running; _result = BehaviorUpdateResult::Running;
_accumulatedTime = 0.0f;
_totalTime = 0;
} }
else if (_result != BehaviorUpdateResult::Running) else if (_result != BehaviorUpdateResult::Running)
{ {