// Adds an NPC to the match list public void AddToMatchList(AtomNPC atom) { for (int i = 0; i < matchList.Length; i++) { if (matchList[i] == null) { matchList[i] = atom; break; } } }