NTUT-FUCK-PTSD / Fuck-PTSD

This is a repo about rewriting the game `crypt of the necrodancer` in OOP Lab
MIT License
2 stars 2 forks source link

fix: Reset m_LastIdxLeft and m_LastIdxRight in IndicatorBar Update method #160

Closed HeavenManySugar closed 3 months ago

HeavenManySugar commented 3 months ago

The IndicatorBar Update method was not correctly resetting the m_LastIdxLeft and m_LastIdxRight variables when the beat index exceeded the beat list length. This commit fixes the issue by setting both variables to 0 in that scenario.