Added a check for Dialogue Menu to validation in DisableDialogueQuitting to prevent false positives
This commit is contained in:
parent
d3a31a4d94
commit
8af2b08f85
Binary file not shown.
@ -134,6 +134,7 @@ endFunction
|
|||||||
Function DisableDialogueQuitting() Global
|
Function DisableDialogueQuitting() Global
|
||||||
{Disables the TAB Key during dialogue. Resets automatically upon dialogue exit via Goodbye.}
|
{Disables the TAB Key during dialogue. Resets automatically upon dialogue exit via Goodbye.}
|
||||||
|
|
||||||
|
if UI.IsMenuOpen("Dialogue Menu")
|
||||||
if UI.GetBool("Dialogue Menu", "_root.DialogueMenu_mc.bEnableTab") != true
|
if UI.GetBool("Dialogue Menu", "_root.DialogueMenu_mc.bEnableTab") != true
|
||||||
; Suspected non-Enderal dialoguemenu.swf replacer, rechecking value in order to be sure.
|
; Suspected non-Enderal dialoguemenu.swf replacer, rechecking value in order to be sure.
|
||||||
UI.InvokeBool("Dialogue Menu", "_root.DialogueMenu_mc.SetVariable", True)
|
UI.InvokeBool("Dialogue Menu", "_root.DialogueMenu_mc.SetVariable", True)
|
||||||
@ -141,6 +142,7 @@ Function DisableDialogueQuitting() Global
|
|||||||
Debug.Notification("Detected incompatible dialoguemenu.swf!")
|
Debug.Notification("Detected incompatible dialoguemenu.swf!")
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
UI.InvokeBool("Dialogue Menu", "_root.DialogueMenu_mc.SetVariable", False)
|
UI.InvokeBool("Dialogue Menu", "_root.DialogueMenu_mc.SetVariable", False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user