diff --git a/apps/openmw/mwdialogue/dialoguemanagerimp.cpp b/apps/openmw/mwdialogue/dialoguemanagerimp.cpp index a8d7c7a70..c1ebaf10e 100644 --- a/apps/openmw/mwdialogue/dialoguemanagerimp.cpp +++ b/apps/openmw/mwdialogue/dialoguemanagerimp.cpp @@ -658,6 +658,8 @@ namespace MWDialogue winMgr->messageBox(info->mResponse); if (!info->mSound.empty()) sndMgr->say(actor, info->mSound); + if (!info->mResultScript.empty()) + executeScript(info->mResultScript, actor); /* Start of tes3mp addition @@ -675,9 +677,6 @@ namespace MWDialogue End of tes3mp addition */ } - - if (!info->mResultScript.empty()) - executeScript(info->mResultScript, actor); } int DialogueManager::countSavedGameRecords() const