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: books < 12.5mL may crash on disassembly #3401

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

OrenAudeles
Copy link
Contributor

@OrenAudeles OrenAudeles commented Oct 9, 2023

Summary

SUMMARY: Bugfixes "Fix FPE on disassembly of very low volume books"

Purpose of change

Fixes #3400 where we get an FPE due to autogenned book uncraft recipe time being directly correlated to volume.

Describe the solution

Force autogen book uncraft recipes to assume at least 1 page of output regardless of item volume when calculating time required to uncraft.

Describe alternatives you've considered

Testing

Spawned a few books along with computer printout which is in the sub-12.5mL volume FPE induction zone. Butchered them all. No crash.

@github-actions github-actions bot added the src PR changes related to source code. label Oct 9, 2023
@scarf005 scarf005 added this pull request to the merge queue Oct 9, 2023
Merged via the queue into cataclysmbnteam:upload with commit 2bc98a8 Oct 9, 2023
7 of 15 checks passed
@OrenAudeles OrenAudeles deleted the fix-tiny-book-crash branch October 9, 2023 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src PR changes related to source code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crashing when cutting up computer printout with many other books
2 participants