QuestList.SetFinished C# (CSharp) Method

SetFinished() public method

public SetFinished ( int id ) : bool
id int
return bool
    public bool SetFinished(int id)
    {
        if(Quest_Finished_List.Exists(x => x==id))
        {
            return false;
        }
        Quest_Finished_List.Add(id);
        return true;
    }