Skip to content

Commit

Permalink
fix(PlayerSettings): spell school counter setting not persisting
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Nov 28, 2023
1 parent 74fb418 commit 9931c08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ private void ComboBoxSpellSchools_SelectionChanged(object sender, SelectionChang
{
if(!_initialized)
return;
Config.Instance.PlayerSpellSchoolsCounter = (DisplayMode)ComboBoxAbyssal.SelectedItem;
Config.Instance.PlayerSpellSchoolsCounter = (DisplayMode)ComboBoxSpellSchools.SelectedItem;
Config.Save();
}

Expand Down
4 changes: 2 additions & 2 deletions Hearthstone Deck Tracker/Utility/WotogCounterHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ public static bool OpponentSeenCthun
);

public static bool ShowPlayerSpellSchoolsCounter => !Core.Game.IsInMenu && (
Config.Instance.PlayerSpellsCounter == DisplayMode.Always
|| (Config.Instance.PlayerSpellsCounter == DisplayMode.Auto && InDeckAndHand(new[] {
Config.Instance.PlayerSpellSchoolsCounter == DisplayMode.Always
|| (Config.Instance.PlayerSpellSchoolsCounter == DisplayMode.Auto && InDeckAndHand(new[] {
CardIds.Collectible.Mage.DiscoveryOfMagic,
CardIds.Collectible.Mage.InquisitiveCreation,
CardIds.Collectible.Neutral.Multicaster,
Expand Down

0 comments on commit 9931c08

Please sign in to comment.