Resync cell storage on picking up any potential artifact
This commit is contained in:
parent
946e05d1ed
commit
3a52cb85b1
Binary file not shown.
@ -117,7 +117,7 @@ auto EventListener::ProcessEvent(
|
||||
// This listener is expected to be unregistered outside of home.
|
||||
if (ArtifactTracker::IsHome() && a_event->actionRef->IsPlayerRef() && a_event->objectActivated) {
|
||||
const auto ref = a_event->objectActivated.get();
|
||||
if (ref && ArtifactTracker::IsArtifact(ref->GetBaseObject())) {
|
||||
if (ref && ArtifactTracker::g_artifactAllFormTypes.contains(ref->GetBaseObject()->GetFormType())) {
|
||||
std::thread([]() {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(200));
|
||||
ArtifactTracker::SyncCellStorage();
|
||||
|
Loading…
Reference in New Issue
Block a user