Ralgathor / LibClassicSwingTimerAPI

GNU General Public License v3.0
4 stars 5 forks source link

moved C_Timer cancellation in the UNIT_ATTACK_SPEED function #40

Closed hypernormalisation closed 1 year ago

hypernormalisation commented 1 year ago

Cancellations are now in the code block that checks for a valid attack speed change, to avoid cancelling timers when no new timer is going to be set.

This should ensure every START event gets a STOP event even through attack speed changes.

Ralgathor commented 1 year ago

Good catch! For me all is good this can be merged on the main branch.