Fixed help messages getting permanently stuck on screen, if a savegame is loaded while they are showing

This commit is contained in:
Eddoursul 2022-08-12 19:46:50 +02:00
parent 966d7a5c1b
commit 5063f9949a
4 changed files with 9 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -15,6 +15,11 @@ Function SetUpScene()
GameHour.SetValue(18.5) GameHour.SetValue(18.5)
Game.ForceFirstPerson() Game.ForceFirstPerson()
Game.DisablePlayerControls(false, true, true, false, true, false, false) Game.DisablePlayerControls(false, true, true, false, true, false, false)
Message.ResetHelpMessage("Clear")
; This message is empty, repurposed to clear stuck help messages
_00E_MQP01_Thoughts01.ShowAsHelpMessage("Clear", 0.1, 1, 1)
FadeToBlackBackImod.Apply() FadeToBlackBackImod.Apply()
FadeToBlackHoldIMOD.Remove() FadeToBlackHoldIMOD.Remove()
MQP01_DreamDoorREF.BlockActivation(True) MQP01_DreamDoorREF.BlockActivation(True)
@ -28,8 +33,6 @@ Function SetUpScene()
endif endif
Game.DisablePlayerControls(false, true, true, false, true, false, false) Game.DisablePlayerControls(false, true, true, false, true, false, false)
Wait(1.0)
_00E_MQP01_Thoughts01.ShowAsHelpMessage("Empty", 5, 1, 1)
EndFunction EndFunction

View File

@ -280,6 +280,10 @@ Function Maintenance()
PlayerREF.Dismount() PlayerREF.Dismount()
EndIf EndIf
; Clear stuck help messages, leaking between game loads
Message.ResetHelpMessage("Clear")
(Game.GetForm(0xAC80E) as Message).ShowAsHelpMessage("Clear", 0.1, 1, 1)
EnableDisableKillmove() EnableDisableKillmove()
ResetArmorWeightPerks() ResetArmorWeightPerks()