TMF
TMF copied to clipboard
Autotest: gear check passes magazines check in edge cases
If unit has multiple weapons defined, autotest checks for compatible magazines only for first weapon in the array. If weapon incompatible with other weapons is added to the array (eg. because mod update changed magazine well for one variant) autotest could still pass. I believe speed is not the main factor for autotest, so maybe it should check all possible combinations before claiming unit has enough magazines.
And to add to this, it also doesn't check if a weapon doesn't have any compatible magazines, ie ACE mine detectors.