Fixed player check in _00E_Game_TalentControlSC

This commit is contained in:
Eddoursul 2024-02-19 22:04:15 +01:00
parent 5921715d85
commit 6b713f9544
2 changed files with 6 additions and 4 deletions

View File

@ -42,11 +42,13 @@ Event OnInit()
EndEvent EndEvent
Event OnPlayerLoadGame() Event OnPlayerLoadGame()
If self == PlayerREF && SKSE.GetVersion() > 0 If SKSE.GetVersion()
if self == PlayerREF
if GetState() != "RealPlayer" if GetState() != "RealPlayer"
GoToState("RealPlayer") GoToState("RealPlayer")
endif endif
RegisterForActions() RegisterForActions()
endif
else else
Debug.Trace("NO SKSE: individual shout cooldowns are disabled") Debug.Trace("NO SKSE: individual shout cooldowns are disabled")
if GetState() != "Disabled" if GetState() != "Disabled"