Skip to content

Commit

Permalink
fix(Deck): GetSideboards not returning Zillax Deluxe 3000 modules
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Apr 23, 2024
1 parent 207c327 commit 61a73b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HearthDb/Deckstrings/Deck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class Deck
/// <summary>
/// Gets the card object for the given HeroDbfId
/// </summary>
public Card GetHero() => Cards.GetFromDbfId(HeroDbfId, false);
public Card GetHero() => Cards.GetFromDbfId(HeroDbfId, collectibe: false);

/// <summary>
/// Converts (DbfId, Count) dictionary to (CardObject, Count).
Expand All @@ -64,7 +64,7 @@ public class Deck
Owner = Cards.GetFromDbfId(x.Key),
Sideboard = x.Value.Select(s => new
{
Card = Cards.GetFromDbfId(s.Key),
Card = Cards.GetFromDbfId(s.Key, collectibe: false),
Count = s.Value
}).Where(s => s.Card != null).ToDictionary(x => x.Card, x => x.Count)
})
Expand Down

0 comments on commit 61a73b1

Please sign in to comment.