Fix cyborg item modules being remove at processing_objects after energy cell removal or drained.
Refactor a bit.
Merge pull request #1079 from ESwordTheCat/riW3nfAj

Fix cyborg item modules being remove at processing_objects after energy ...