diff --git a/scripts/_00e_mqp03_akropolissetstageonlea.pex b/scripts/_00e_mqp03_akropolissetstageonlea.pex index fd47b6dc..cfec160a 100644 Binary files a/scripts/_00e_mqp03_akropolissetstageonlea.pex and b/scripts/_00e_mqp03_akropolissetstageonlea.pex differ diff --git a/source/scripts/_00e_mqp03_akropolissetstageonlea.psc b/source/scripts/_00e_mqp03_akropolissetstageonlea.psc index 4b28fc1b..ceae9112 100644 --- a/source/scripts/_00e_mqp03_akropolissetstageonlea.psc +++ b/source/scripts/_00e_mqp03_akropolissetstageonlea.psc @@ -3,19 +3,22 @@ Scriptname _00E_MQP03_AkropolisSetStageOnLea extends ObjectReference Event OnTriggerLeave(ObjectReference akActionRef) - if !Done && (MQP03.IsRunning()) + if !Done && MQP03.IsRunning() Done = True MQP03.SetCurrentStageID(15) - iMappedKeyCode = Input.GetMappedKey("Shout") - RegisterForKey(iMappedKeyCode) - Self.Disable() + + if SKSE.GetVersion() + RegisterForKey(Input.GetMappedKey("Shout")) + endif + + Disable() EndIf EndEvent Event OnKeyDown(Int KeyCode) - If KeyCode == (iMappedKeyCode) && Utility.IsInMenuMode() == False && UI.IsTextInputEnabled() == False + If KeyCode == Input.GetMappedKey("Shout") && Utility.IsInMenuMode() == False && UI.IsTextInputEnabled() == False If Game.GetPlayer().GetParentCell() == Self.GetParentCell() _00E_Class_OpenClassMenuSpell.Cast(Game.GetPlayer(), Game.GetPlayer()) @@ -28,7 +31,5 @@ EndEvent bool Done -int iMappedKeyCode - Spell Property _00E_Class_OpenClassMenuSpell Auto -Quest Property MQP03 Auto \ No newline at end of file +Quest Property MQP03 Auto