mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 03:40:40 +00:00
Only reset dialogue history of dialogue GUI mode is gone
This commit is contained in:
parent
12833d66af
commit
45e6a03937
@ -477,6 +477,8 @@ namespace MWGui
|
||||
|
||||
void DialogueWindow::onClose()
|
||||
{
|
||||
if (MWBase::Environment::get().getWindowManager()->containsMode(GM_Dialogue))
|
||||
return;
|
||||
// Reset history
|
||||
for (DialogueText* text : mHistoryContents)
|
||||
delete text;
|
||||
|
Loading…
x
Reference in New Issue
Block a user