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

Bar_SetValue division by zero #30

Closed
Fawkes-dev opened this issue Jun 1, 2021 · 2 comments
Closed

Bar_SetValue division by zero #30

Fawkes-dev opened this issue Jun 1, 2021 · 2 comments

Comments

@Fawkes-dev
Copy link

If bar.valMax == 0 game crashes

@Lehona
Copy link
Owner

Lehona commented Jul 9, 2021

What do you think should happen if the max is 0? Should the bar be full or empty?

@Fawkes-dev
Copy link
Author

I would think it should be empty. (also in case bar.value is negative then I would have it empty)

@szapp szapp closed this as completed in a4acf63 Jul 7, 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

No branches or pull requests

2 participants