Fix Behavior time to not reset on root loop
This commit is contained in:
@@ -113,8 +113,6 @@ void Behavior::UpdateAsync()
|
||||
{
|
||||
// Reset State
|
||||
_result = BehaviorUpdateResult::Running;
|
||||
_accumulatedTime = 0.0f;
|
||||
_totalTime = 0;
|
||||
}
|
||||
else if (_result != BehaviorUpdateResult::Running)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user