Battlepass fix
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user