diff --git a/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs b/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs index d4fc045d09..cd1e35ac2f 100644 --- a/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs +++ b/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs @@ -767,7 +767,7 @@ namespace BizHawk.Client.Common public void RemoveBranch(int index) { - foreach (KeyValuePair> kvp in BranchStates) + foreach (KeyValuePair> kvp in BranchStates.ToList()) { SortedList stateList = kvp.Value; if (stateList == null)