Battlepass fix

This commit is contained in:
gamer147
2026-05-28 00:54:46 -04:00
parent 0f44a3482c
commit 39b38e3c80
2 changed files with 31 additions and 1 deletions

View File

@@ -71,7 +71,10 @@ public sealed class BattlePassService : IBattlePassService
MaxLevel = Inv(season.MaxLevel),
StartDate = FormatWireDate(season.StartDate),
EndDate = FormatWireDate(season.EndDate),
CanPurchase = season.CanPurchase,
// Client uses can_purchase as the sole "show buy button / use normal-pass icon"
// signal on the home BP screen (Wizard/BattlePass.cs:56,84 + BattlePassHeader.cs:51);
// it must flip to false once the viewer owns the pass, or the button persists.
CanPurchase = season.CanPurchase && !progress.IsPremium,
},
RewardInfo = new BattlePassRewardInfoDto
{