Fixed crash caused by _00E_EngineBugfixAlias, calling ResetHelpMessage in menu mode
This commit is contained in:
parent
1364bcf718
commit
93d7539196
Binary file not shown.
@ -5,11 +5,15 @@ int function _GetScriptVersion() Global
|
|||||||
endFunction
|
endFunction
|
||||||
|
|
||||||
Event OnInit()
|
Event OnInit()
|
||||||
|
Utility.Wait(0.1)
|
||||||
_ClearStuckHelpMessages()
|
_ClearStuckHelpMessages()
|
||||||
EndEvent
|
EndEvent
|
||||||
|
|
||||||
Event OnPlayerLoadGame()
|
Event OnPlayerLoadGame()
|
||||||
|
|
||||||
|
; ResetHelpMessage crashes the game when called in menu mode, for instance, when loading a savegame fails due to missing mods
|
||||||
|
Utility.Wait(0.1)
|
||||||
|
|
||||||
; If a help message is visible during game reload, it gets stuck on screen
|
; If a help message is visible during game reload, it gets stuck on screen
|
||||||
; This workaround shows an empty message to forcefully clear the queue
|
; This workaround shows an empty message to forcefully clear the queue
|
||||||
_ClearStuckHelpMessages()
|
_ClearStuckHelpMessages()
|
||||||
|
Loading…
Reference in New Issue
Block a user