Skip to content

Commit

Permalink
ChaosMod/EffectDispatchTimer: Fix timer bar not hiding appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
pongo1231 committed Jan 16, 2025
1 parent df7df90 commit bc26b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChaosMod/Components/EffectDispatchTimer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void EffectDispatchTimer::OnRun()
return;
}

if (m_DrawTimerBar || (ComponentExists<MetaModifiers>() && !GetComponent<MetaModifiers>()->HideChaosUI))
if (m_DrawTimerBar && (!ComponentExists<MetaModifiers>() || !GetComponent<MetaModifiers>()->HideChaosUI))
{
float percentage = m_FakeTimerPercentage != 0.f ? m_FakeTimerPercentage : m_TimerPercentage;

Expand Down

0 comments on commit bc26b53

Please sign in to comment.