Skip to content

Fixes spacepod cell stat() bug

Rob Nelson requested to merge pull/4135/bugfix4 into Bleeding-Edge

Created by: clusterfack

Fixes #3517 (closed), apparently the stat() for spacepod cells checked that the battery has an object of type cell within it. But since spacepods typecast their cell for specific initialization of a high power cell, the istype(S.battery) check fails if you placed a different type of cell into it. Causing it to instead display no cell detected.

Merge request reports