public static void createNewClan(Dood[] doods) { Clan newClan = new Clan(clans[popClan()], false); //Debug.Log("New Clan: "+newClan.name+" has been founded!"); foreach (Dood dood in doods){ dood.swapClans (newClan); dood.modifyHappy (0.2f); // Even better than joining an existing clan! } newClan.recalcStats(); RelationsTracker.activeClans.Add(newClan); }