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

Averted divide by zero edge case #116

Closed
wants to merge 2 commits into from

Conversation

AlasdairS4698737
Copy link
Contributor

Averts divide by zero edge case if a tower's fire rate is reduced to 0 shots per second.
If TowerCombatTask attempts to set it's fireRateInterval to 1/0, it will instead be set to 0.

@AlasdairS4698737
Copy link
Contributor Author

PR is outdated, I need to make another one with the new changes.

@nawal-0 nawal-0 mentioned this pull request Sep 8, 2023
5 tasks
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.

1 participant