From d767944a8304f7274832e989a56845c4d17be480 Mon Sep 17 00:00:00 2001 From: gamer147 Date: Tue, 9 Jun 2026 15:04:11 -0400 Subject: [PATCH] feat(story): tag finish-reward tx as StoryFinish for acquire history Co-Authored-By: Claude Sonnet 4.6 --- SVSim.EmulatedEntrypoint/Services/StoryService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SVSim.EmulatedEntrypoint/Services/StoryService.cs b/SVSim.EmulatedEntrypoint/Services/StoryService.cs index 24a91ce..18826b0 100644 --- a/SVSim.EmulatedEntrypoint/Services/StoryService.cs +++ b/SVSim.EmulatedEntrypoint/Services/StoryService.cs @@ -522,7 +522,7 @@ public class StoryService : IStoryService { // Open inventory tx — skip the load entirely when no rewards (narrative-only // chapters where the only side effect is the progress upsert). - await using var tx = await _inv.BeginAsync(viewerId); + await using var tx = await _inv.BeginAsync(viewerId, configure: cfg => cfg.Source = GrantSource.StoryFinish); // reward_list and story_reward_list have DIFFERENT semantics for reward_num: // - reward_list: post-state totals. Client (PlayerStaticData