Browse Source

Removed resume at Label. It's a bit hacky and kinda redundant.

master
Christopher 8 years ago
parent
commit
db7f71dee2
  1. 14
      Assets/Fungus/Scripts/Components/SaveManager.cs

14
Assets/Fungus/Scripts/Components/SaveManager.cs

@ -69,20 +69,6 @@ namespace Fungus
break; break;
} }
} }
// Execute any block containing a Label matching the save key
var labels = Object.FindObjectsOfType<Label>();
for (int i = 0; i < labels.Length; i++)
{
var label = labels[i];
if (string.Compare(label.Key, savePointKey, true) == 0)
{
int index = label.CommandIndex;
var block = label.ParentBlock;
var flowchart = label.GetFlowchart();
flowchart.ExecuteBlock(block, index + 1);
}
}
} }
/// <summary> /// <summary>

Loading…
Cancel
Save