Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Unload zone fixes

Open bombasticSlacks opened this issue 3 years ago • 1 comments

Summary

None

Purpose of change

made a mistake and somewhat broke unload and sort zones under certain conditions.

Describe the solution

Added a unit test, fixed an issue with a specific conditional always returning instead of continuing execution.

The actual code is the two lines in activity_item_handling, everything else is for the unit test.

Describe alternatives you've considered

Testing

Unit test attached was basically what I did in game.

Additional context

bombasticSlacks avatar Aug 15 '22 13:08 bombasticSlacks

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

stale[bot] avatar Sep 21 '22 03:09 stale[bot]