review(bp): doc fixes + sales_period_info non-nullable + drop checked cast + TODO

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-05-27 00:00:24 -04:00
parent 9147ab0ec7
commit c7dfd43daa
4 changed files with 18 additions and 5 deletions

View File

@@ -203,7 +203,7 @@ public sealed class BattlePassService : IBattlePassService
// append the post-deduction total so the client gets the correct final balance.
postState.RemoveAll(r => r.RewardType == (int)UserGoodsType.Crystal);
postState.Add(new GrantedReward(
(int)UserGoodsType.Crystal, 0, checked((int)viewer.Currency.Crystals)));
(int)UserGoodsType.Crystal, 0, (int)viewer.Currency.Crystals));
return new BattlePassBuyOutcome(1, achieved, postState);
}