Commit 42cb13d0 authored by ElderLich's avatar ElderLich

Bug Fix: Fix duel auto card info setting default

Align DuelAutoInfo with the settings UI and translation by reading it as a boolean default-on option, so card info auto-display works correctly on fresh configs during summons and effect activations.
parent 69ee4973
...@@ -1326,13 +1326,13 @@ namespace MDPro3.Servant ...@@ -1326,13 +1326,13 @@ namespace MDPro3.Servant
public bool GetAutoInfo() public bool GetAutoInfo()
{ {
if (condition == Condition.Duel if (condition == Condition.Duel
&& Config.Get("DuelAutoInfo", "0") == "0") && !Config.GetBool("DuelAutoInfo", true))
return false; return false;
if (condition == Condition.Watch if (condition == Condition.Watch
&& Config.Get("WatchAutoInfo", "0") == "0") && !Config.GetBool("WatchAutoInfo", true))
return false; return false;
if (condition == Condition.Replay if (condition == Condition.Replay
&& Config.Get("ReplayAutoInfo", "0") == "0") && !Config.GetBool("ReplayAutoInfo", true))
return false; return false;
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment