private void ModifyField() { if (SelectedValue.ModifyAsList) { //TODO: New prompt that handles lists. } else if (!SelectedValue.CanOverwrite) { //Implies the only action that can be done is to modify the subobject ISaveable subobject = SelectedValue.SubObject(objectToModify); if (subobject != null) { NextPrompt = new AdminSelectModify(this, User, subobject); } else { User.sendMessage("Error: No subobject found for a modify-only field."); } } else { NextPrompt = new AdminModifyField(this, User, objectToModify, SelectedValue); } }