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

Fix lambda timers timerSetDelay not accounting for repetitions. #3226

Merged
merged 4 commits into from
Dec 27, 2024

Conversation

unknao
Copy link
Contributor

@unknao unknao commented Dec 24, 2024

Lambda timers used to make all timers infinitely repeat upon using timerSetDelay, now it accounts for timers with limited repetitions.

Copy link
Member

@Denneisk Denneisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, sorry, I just double-checked, and you could just pass nil for the repetitions argument instead of needing to find them and reassign them.
https://wiki.facepunch.com/gmod/timer.Adjust

@unknao
Copy link
Contributor Author

unknao commented Dec 25, 2024

Oh, that would've saved like half an hour of time if i had known that

@thegrb93 thegrb93 merged commit 9ef330c into wiremod:master Dec 27, 2024
1 check failed
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.

3 participants