4
Fork 0

_00E_ContainerBonusControl fix

development
Eddoursul 2 months ago
parent e8b554a48a
commit f138873023
  1. BIN
      scripts/_00E_ContainerBonusControl.pex
  2. 4
      source/scripts/_00E_ContainerBonusControl.psc

@ -23,8 +23,8 @@ function OnOpenContainer(ObjectReference targetContainer)
; Wait for it to open
int i
while i < 20 && targetContainer.GetOpenState() == 2
Utility.WaitMenuMode(0.1)
while i < 20 && targetContainer.GetOpenState() == 2 && ! Utility.IsInMenuMode()
Utility.Wait(0.1)
i += 1
endwhile

Loading…
Cancel
Save