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

Modify battery assert to avoid floating point errors #28007

Merged
merged 1 commit into from
May 19, 2024

Conversation

ElectroJr
Copy link
Contributor

No description provided.

@ElectroJr ElectroJr requested a review from PJB3005 as a code owner May 14, 2024 08:49
@github-actions github-actions bot added the Status: Needs Review This PR requires new reviews before it can be merged. label May 14, 2024
@mirrorcult
Copy link
Contributor

does this fix that one wack ass assert that happens in debug or is this just like a preliminary thing

@ElectroJr
Copy link
Contributor Author

does this fix that one wack ass assert that happens in debug or is this just like a preliminary thing

This is just a wild guess at something that might fix it. I've been trying to reproduce it but its pretty inconsistent and I got tired of just having to leave stations running in the background. The one time I managed to reproduce it it had nonsensical values, in the sense that the assert tripped, but it shouldn't have been possible given the current values.

@ElectroJr ElectroJr merged commit b4a5399 into space-wizards:master May 19, 2024
13 checks passed
@slarticodefast
Copy link
Contributor

grafik

Still happens for me pretty consistently after 2-5 minutes on the Dev map.

Titian3 pushed a commit to Titian3/space-station-14 that referenced this pull request May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Review This PR requires new reviews before it can be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants