mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-21 01:37:13 +07:00
Fixed JSON part support
This commit is contained in:
parent
17d8d5875e
commit
8fae99e780
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user