Skip to content

Commit

Permalink
ChaosMod: Fix meta effect timer constantly resetting with twitch voti…
Browse files Browse the repository at this point in the history
…ng enabled
  • Loading branch information
pongo1231 committed Jan 22, 2021
1 parent efac972 commit e1b0f43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ChaosMod/EffectDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ void EffectDispatcher::Reset()
m_enableNormalEffectDispatch = false;
m_metaEffectsEnabled = true;
m_metaEffectTimer = m_metaEffectSpawnTime;
m_metaTimer = GetTickCount64();

for (const auto& pair : g_enabledEffects)
{
Expand Down Expand Up @@ -406,6 +407,4 @@ void EffectDispatcher::ResetTimer()
m_timerTimer = GetTickCount64();
m_timerTimerRuns = 0;
m_effectsTimer = GetTickCount64();
m_metaTimer = GetTickCount64();
m_metaEffectTimer = m_metaEffectSpawnTime;
}

0 comments on commit e1b0f43

Please sign in to comment.