mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 02:45:32 +00:00
Fix Calvus Horatius AiFollow package not being removed after he quits as result of negative profit
This commit is contained in:
parent
ac97a0f99d
commit
08499ea51f
1 changed files with 2 additions and 1 deletions
|
@ -151,7 +151,8 @@ void CompanionWindow::onMessageBoxButtonClicked(int button)
|
||||||
"minimumprofit", mPtr.getClass().getNpcStats(mPtr).getProfit());
|
"minimumprofit", mPtr.getClass().getNpcStats(mPtr).getProfit());
|
||||||
|
|
||||||
MWBase::Environment::get().getWindowManager()->removeGuiMode(GM_Companion);
|
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…
Reference in a new issue