Fixed JSON part support

This commit is contained in:
Anuken 2022-05-07 10:22:33 -04:00
parent 17d8d5875e
commit 8fae99e780

View File

@ -1093,7 +1093,7 @@ public class UnitType extends UnlockableContent{
//TODO how/where do I draw under?
if(parts.size > 0){
for(int i = 0; i < parts.size; i++){
var part = parts.items[i];
var part = parts.get(i);
WeaponMount first = unit.mounts.length > part.weaponIndex ? unit.mounts[part.weaponIndex] : null;
if(first != null){