diff --git a/SVSim.EmulatedEntrypoint/Services/BattlePassService.cs b/SVSim.EmulatedEntrypoint/Services/BattlePassService.cs index ceac93d..10fb43e 100644 --- a/SVSim.EmulatedEntrypoint/Services/BattlePassService.cs +++ b/SVSim.EmulatedEntrypoint/Services/BattlePassService.cs @@ -164,7 +164,7 @@ public sealed class BattlePassService : IBattlePassService return new BattlePassBuyOutcome(23, Array.Empty(), Array.Empty()); // Open inventory tx — loads viewer + opens DB tx. - await using var tx = await _inv.BeginAsync(viewerId, ct); + await using var tx = await _inv.BeginAsync(viewerId, ct, cfg => cfg.Source = GrantSource.BattlePassClaim); var spendResult = await tx.TrySpendAsync(SpendCurrency.Crystal, season.PriceCrystal, ct); if (!spendResult.Success) @@ -231,7 +231,7 @@ public sealed class BattlePassService : IBattlePassService var claims = await _viewerBp.GetClaimsAsync(viewerId, season.Id, ct); var claimSet = claims.Select(c => (c.Track, c.Level)).ToHashSet(); - await using var tx = await _inv.BeginAsync(viewerId, ct); + await using var tx = await _inv.BeginAsync(viewerId, ct, cfg => cfg.Source = GrantSource.BattlePassClaim); for (int level = beforeLevel + 1; level <= afterLevel; level++) {