Interrupt picking up when game is paused
This commit is contained in:
parent
c495c5e5a3
commit
8f9a75591e
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user