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: food rotting incorrectly #3642

Merged
merged 1 commit into from
Nov 12, 2023

Conversation

joveeater
Copy link
Collaborator

@joveeater joveeater commented Nov 12, 2023

Summary

SUMMARY: Bugfixes "Fix food rotting incorrectly"

Purpose of change

Fixes half of #3610. Technically that issue is two separate bugs. This fixes the food not rotting away. The food rotting too quickly is fixed by PR #3639.

Describe the solution

The num_to_process was being used after it had been iterated down to -1, meaning it would just repeatedly process the first item. This moves the use above the loop.

@github-actions github-actions bot added the src changes related to source code. label Nov 12, 2023
@scarf005 scarf005 changed the title Fix: food rotting incorrectly fix: food rotting incorrectly Nov 12, 2023
@scarf005 scarf005 added this pull request to the merge queue Nov 12, 2023
Merged via the queue into cataclysmbnteam:upload with commit 2791cd3 Nov 12, 2023
14 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src changes related to source code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants