_00E_ContainerBonusControl fix

This commit is contained in:
Eddoursul 2024-02-16 15:55:04 +01:00
parent e8b554a48a
commit f138873023
2 changed files with 2 additions and 2 deletions

View File

@ -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