tastudio: hail copypaste-driven development!

This commit is contained in:
feos 2015-09-06 18:02:50 +03:00
parent 0da8f3cac4
commit 3fccda33fd
1 changed files with 1 additions and 1 deletions

View File

@ -793,7 +793,7 @@ namespace BizHawk.Client.Common
public void UpdateBranch(int index)
{
// RemoveBranch
foreach (KeyValuePair<int, SortedList<int, tsmState>> kvp in BranchStates)
foreach (KeyValuePair<int, SortedList<int, tsmState>> kvp in BranchStates.ToList())
{
SortedList<int, tsmState> stateList = kvp.Value;
if (stateList == null)