Skip to content

Commit

Permalink
Remove redundant debugging variables
Browse files Browse the repository at this point in the history
  • Loading branch information
SapiensAnatis committed Aug 7, 2023
1 parent bf24898 commit 28d12a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions DragaliaAPI/Features/Event/EventRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ public async Task AddItemQuantityAsync(int itemId, int quantity)
if (quantity < 0)
throw new ArgumentOutOfRangeException(nameof(quantity));

var b = this.Items.ToList();

DbPlayerEventItem item =
await GetEventItemAsync(itemId)
?? throw new DragaliaException(ResultCode.CommonDbError, "Event item not found");
Expand Down
2 changes: 0 additions & 2 deletions DragaliaAPI/Features/Shop/ItemSummonService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ IMissionProgressionService missionProgressionService
this.missionProgressionService = missionProgressionService;
this.random = Random.Shared;

var b = this.config.Odds.Sum(x => x.Rate);

this.summonWeights = new int[this.config.Odds.Count];

int weight = 0;
Expand Down

0 comments on commit 28d12a7

Please sign in to comment.