Skip to content

Commit

Permalink
Made sure yield break still registers as finished coroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
Warlander committed Sep 26, 2019
1 parent e476c70 commit d693627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Warlander/Deedplanner/Logic/CoroutineManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ private IEnumerator WrapCoroutine(IEnumerator enumerator)
}
}

yield return enumerator;
enumeratorsExecutingCount--;
yield return enumerator;
}

}
Expand Down

0 comments on commit d693627

Please sign in to comment.