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

Mass Integer Overflow Workaround #306

Open
Earthfall10 opened this issue Mar 11, 2022 · 0 comments
Open

Mass Integer Overflow Workaround #306

Earthfall10 opened this issue Mar 11, 2022 · 0 comments

Comments

@Earthfall10
Copy link
Contributor

Some changes to technology equations results in integer overflow errors when the Mass slider in the tech design window is slide to the maximum. Casting to double does not appear to work, but the Tech equations can be forced to use doubles by multiplying by 1000000.0

Example:
Ability('Mass') * 1000000.0 * TechData('8557acb9-c764-44e7-8ee4-db2c2cebf0bc')

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

1 participant