1
Fork 0

Fixed player check in _00E_Game_TalentControlSC

development
Eddoursul 3 months ago
parent 5921715d85
commit 6b713f9544
  1. BIN
      scripts/_00e_game_talentcontrolsc.pex
  2. 10
      source/scripts/_00e_game_talentcontrolsc.psc

@ -42,11 +42,13 @@ Event OnInit()
EndEvent EndEvent
Event OnPlayerLoadGame() Event OnPlayerLoadGame()
If self == PlayerREF && SKSE.GetVersion() > 0 If SKSE.GetVersion()
if GetState() != "RealPlayer" if self == PlayerREF
GoToState("RealPlayer") if GetState() != "RealPlayer"
GoToState("RealPlayer")
endif
RegisterForActions()
endif endif
RegisterForActions()
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"

Loading…
Cancel
Save