Send SKSE events on spectralization

This commit is contained in:
Eddoursul 2022-08-18 16:07:13 +02:00
parent fb436ea1e5
commit 28ff084978
2 changed files with 3 additions and 1 deletions

View File

@ -205,6 +205,7 @@ Bool Function _ShowMainMenu()
Else ; Quit
ReleaseApparition()
self.SendModEvent("Enderal_FinishSpectralizing")
GoToState("")
EndIf
@ -245,6 +246,7 @@ Bool Function ShowEquipApparitionMenu()
Int iChoice = UIExtensions.OpenMenu("UIWheelMenu")
If iChoice == 0
self.SendModEvent("Enderal_StartSpectralizing")
GoToState("Spectralize")
Return False
ElseIf iChoice == 1
@ -280,7 +282,7 @@ State Spectralize
phasmalistControlQuest.OnPlayerItemSpectralized()
EndIf
phasmalistControlQuest.spectralizeContainer.clear()
self.SendModEvent("Enderal_FinishSpectralizing")
GoToState("Waiting")
ShowMainMenu()
EndEvent