Пример #1
0
    public void UnassignBackend(string charID, ShellCore member)
    {
        if (member && member.GetAI() != null)
        {
            member.GetAI().follow(null);
        }

        partyMembers.Remove(member);
        if (charID != null)
        {
            partyResponses.Remove(charID);
        }

        if (member && partyIndicators.ContainsKey(member))
        {
            Destroy(partyIndicators[member]);
            partyIndicators.Remove(member);
        }
    }