mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-18 13:12:50 +00:00
Prevent closing dialogue window when an answer is expected
This commit is contained in:
parent
33d1585a5e
commit
f1f9173f24
@ -381,6 +381,10 @@ namespace MWDialogue
|
||||
|
||||
void DialogueManager::goodbyeSelected()
|
||||
{
|
||||
// Do not close the dialogue window if the player has to answer a question
|
||||
if (mIsInChoice)
|
||||
return;
|
||||
|
||||
MWBase::Environment::get().getWindowManager()->removeGuiMode(MWGui::GM_Dialogue);
|
||||
|
||||
// Apply disposition change to NPC's base disposition
|
||||
|
Loading…
x
Reference in New Issue
Block a user