Fixed crash caused by _00E_EngineBugfixAlias, calling ResetHelpMessage in menu mode

This commit is contained in:
Eddoursul 2024-01-18 04:07:21 +01:00
parent 1364bcf718
commit 93d7539196
2 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -5,11 +5,15 @@ int function _GetScriptVersion() Global
endFunction
Event OnInit()
Utility.Wait(0.1)
_ClearStuckHelpMessages()
EndEvent
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
; This workaround shows an empty message to forcefully clear the queue
_ClearStuckHelpMessages()