Skip to content

Commit

Permalink
ConfigApp: Don't check "Override Timed Type" if using custom time (#3717
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Regynate authored Feb 14, 2025
1 parent 4ed1c08 commit 0a2c4e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ConfigApp/EffectConfig.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ public EffectConfig(string? effectId, EffectData? effectData, EffectInfo effectI

if (m_IsTimedEffect)
{
effectconf_timer_type_enable.IsChecked = m_EffectData.TimedType.HasValue && m_EffectData.TimedType != defaultTimedType;
effectconf_timer_type_enable.IsChecked = m_EffectData.TimedType.HasValue &&
m_EffectData.TimedType != defaultTimedType &&
m_EffectData.TimedType != EffectTimedType.Custom;
effectconf_timer_type.ItemsSource = new string[]
{
"Normal",
Expand Down

0 comments on commit 0a2c4e2

Please sign in to comment.