Tech Reborn

Tech Reborn

30M Downloads

Rolling Machine tries to charge from its 3rd input slot

coderbot16 opened this issue ยท 2 comments

commented

While testing my energy support patches I discovered that the Rolling Machine was not discharging batteries. While this initially spooked me, since I thought that I had broken something, I tested other machines and they seemed to work fine. Inspection of the source reveals that the GUI has the energy slot as index 10, but the charge code has the energy slot as index 2. While index 2 in many machines is the energy slot, the rolling machine is a special case since 0-8 are input slots.

Relevant source code locations:

2018-12-27_22 55 17

commented

You're welcome! ๐Ÿ‘

commented

Thank you for spotting!