Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions S1API/Entities/NPCSupplier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ internal void EnsureSupplier()
return;
}

// Native suppliers keep a conversation object for persistence and
// networking, but do not add it to Messages until SupplierUnlocked.
npc.EnsureMessageConversationReady(resetDefaults: false);
// Saved unlocks can be restored before Supplier.Start subscribes to OnUnlocked.
// Reconcile the phone entry from that state even when no message history was saved.
npc.SetConversationCategory(
S1Messaging.EConversationCategory.Supplier,
ensureUi: false);
npc.EnsureMessageConversationReady(resetDefaults: false);
ensureUi: npc.Relationship.IsUnlocked);
EnsureDeadDropReadyDispatcher();
}

Expand Down
Loading