Fix Calvus Horatius AiFollow package not being removed after he quits as result of negative profit

deque
scrawl 10 years ago
parent ac97a0f99d
commit 08499ea51f

@ -151,7 +151,8 @@ void CompanionWindow::onMessageBoxButtonClicked(int button)
"minimumprofit", mPtr.getClass().getNpcStats(mPtr).getProfit());
MWBase::Environment::get().getWindowManager()->removeGuiMode(GM_Companion);
MWBase::Environment::get().getDialogueManager()->startDialogue (mPtr);
// Important for Calvus' contract script to work properly
MWBase::Environment::get().getWindowManager()->removeGuiMode(GM_Dialogue);
}
}

Loading…
Cancel
Save