|
|
@ -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() |
|
|
|