private void load_toggled_chatter_sets()
{
//if (debugging) Debug.Log("[CHATR] loading toggled sets...");
//load audio into current from sets that are toggled on
current_capcom_chatter.Clear();
current_capsule_chatter.Clear();
int i;
for (i = 0; i < chatter_array.Count; i++)
{
if (chatter_array[i].is_active == true)
{
current_capcom_chatter.AddRange(chatter_array[i].capcom);
current_capsule_chatter.AddRange(chatter_array[i].capsule);
}
}
//toggle has changed so resave audiosets.cfg
//now done in write_settings()
// i = 0;
//foreach (ConfigNode _node in audiosets.nodes)
//{
// _node.SetValue("is_active", chatter_array[i].is_active.ToString());
// i++;
//}
//audiosets.Save(audiosets_path);
if (debugging) Debug.Log("[CHATR] toggled sets loaded OK");
}