public void endQuest(string text = "Quest over")
    {
        Debug.Log("endQuest");
        gameState = state.QUESTWRAPUP;

        drawXNumberOfCards(activeQuest.getTotalCardsUsed(), activeQuest.getSponsor());

        if (userInputState != state.ASKINGFORCARDSTODISCARD)
        {
            log.log("Quest is over. Players will be awarded " + activeQuest.getStageNum() + " shields");
            storyDeck.discardCard(new Card[] { activeQuest.getQuest() });
            ui.endQuest();
            ui.drawingQuestCard();
            activeQuest.finishQuest();
            activePlayerMeta = nextPlayer(activePlayerMeta);
            drawQuestCard();
        }
    }