1

Interrupt picking up when game is paused

This commit is contained in:
Eddoursul 2024-07-04 20:37:44 +02:00
parent c495c5e5a3
commit 8f9a75591e

View File

@ -167,6 +167,9 @@ auto EventListener::ProcessEvent(
item->ActivateRef(RE::PlayerCharacter::GetSingleton(), 0, nullptr, item->extraList.GetCount(), false); item->ActivateRef(RE::PlayerCharacter::GetSingleton(), 0, nullptr, item->extraList.GetCount(), false);
} }
}); });
if (RE::UI::GetSingleton()->GameIsPaused()) {
break;
}
} }
// Without this delay, the event listener is reactivated before the last activation event fires, creating a chain of events. // Without this delay, the event listener is reactivated before the last activation event fires, creating a chain of events.