diff --git a/scripts/_00e_fs_chestopenpassphrase.pex b/scripts/_00e_fs_chestopenpassphrase.pex index 6eb8e04b..cbc3dd4d 100644 Binary files a/scripts/_00e_fs_chestopenpassphrase.pex and b/scripts/_00e_fs_chestopenpassphrase.pex differ diff --git a/source/scripts/_00e_fs_chestopenpassphrase.psc b/source/scripts/_00e_fs_chestopenpassphrase.psc index dc92e48f..63a77a0a 100644 --- a/source/scripts/_00e_fs_chestopenpassphrase.psc +++ b/source/scripts/_00e_fs_chestopenpassphrase.psc @@ -2,22 +2,23 @@ Scriptname _00E_FS_ChestOpenPassphrase extends ObjectReference Event OnInit() - Self.BlockActivation(True) + BlockActivation(True) + Lock(100) EndEvent Event OnActivate(ObjectReference akActionRef) if Self.IsActivationBlocked() - - if CheckForPassphrase() - Self.Lock(False) - Self.BlockActivation(False) - Self.Activate(akActionRef) + if ! EnderalFunctions.TextInputEnabled() || ! IsLocked() + Activate(akActionRef, true) + elseif CheckForPassphrase() + Lock(False) + BlockActivation(False) + Activate(akActionRef) else _00E_MQ07a_sRChainNothingHappens.Show() endif - endif EndEvent @@ -34,4 +35,4 @@ bool Function CheckForPassphrase() EndFunction -Message Property _00E_MQ07a_sRChainNothingHappens Auto \ No newline at end of file +Message Property _00E_MQ07a_sRChainNothingHappens Auto