Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timers.lua: currentTimer use wrong variable #13

Merged
merged 1 commit into from
Oct 1, 2023
Merged

Conversation

KK233
Copy link
Contributor

@KK233 KK233 commented Mar 8, 2023

the variable "k" is not define,
I read timers version 1.05 by BMD, they use for pairs to define "k", but 1.07 use binary heap and while, so "k" always nil, need use "currentTimer".

If not change, it will throw error when create and remove timer at same frame, with small probability.

@Perryvw Perryvw merged commit 3e52b67 into ModDota:master Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants