Added an SKSE check to _00E_HorseFlute_SC

This commit is contained in:
Eddoursul 2024-02-26 21:17:33 +01:00
parent e94716792a
commit 7073fffd70
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -7,7 +7,7 @@ Scriptname _00E_HorseFlute_SC extends ReferenceAlias
; this event registers for the key as soon as the player receives the horseflute in any way ; this event registers for the key as soon as the player receives the horseflute in any way
; due to being a questobject, it can't be dropped or lost by the player, it also stays in the menu when marked as a favorite ; due to being a questobject, it can't be dropped or lost by the player, it also stays in the menu when marked as a favorite
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
If akNewContainer == PlayerREF If (akNewContainer == PlayerREF) && SKSE.GetVersion()
RegisterForKey(iMountHotkey) RegisterForKey(iMountHotkey)
EndIf EndIf
EndEvent EndEvent