Compare commits
No commits in common. "development" and "2.1.4.2" have entirely different histories.
developmen
...
2.1.4.2
@ -19,15 +19,6 @@ public:
|
|||||||
private:
|
private:
|
||||||
RE::UI_MESSAGE_RESULTS ProcessMessageEx(RE::UIMessage& a_message)
|
RE::UI_MESSAGE_RESULTS ProcessMessageEx(RE::UIMessage& a_message)
|
||||||
{
|
{
|
||||||
// Unblock Tab if Goodbye response has finished playing (End script has already run at this point).
|
|
||||||
// A failsafe when Goodbye does not close the dialogue menu.
|
|
||||||
if (bTabBlocked && a_message.type == RE::UI_MESSAGE_TYPE::kUpdate) {
|
|
||||||
auto* mtm = RE::MenuTopicManager::GetSingleton();
|
|
||||||
if (mtm && mtm->isSayingGoodbye && !mtm->currentTopicInfo && RE::UI::GetSingleton()->IsMenuOpen(MENU_NAME)) {
|
|
||||||
BlockTab(false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (bTabBlocked && a_message.type == RE::UI_MESSAGE_TYPE::kScaleformEvent) {
|
if (bTabBlocked && a_message.type == RE::UI_MESSAGE_TYPE::kScaleformEvent) {
|
||||||
RE::BSUIScaleformData* data = static_cast<RE::BSUIScaleformData*>(a_message.data);
|
RE::BSUIScaleformData* data = static_cast<RE::BSUIScaleformData*>(a_message.data);
|
||||||
|
|
||||||
@ -46,7 +37,7 @@ private:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return _ProcessMessageFn(this, a_message);
|
return _ProcessMessageFn(this, a_message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user