This commit is contained in:
Anuken
2022-06-15 07:29:32 -04:00
parent caed77bac2
commit 3cacff6550

View File

@@ -890,7 +890,7 @@ public class UnitType extends UnlockableContent{
}
for(Weapon weapon : weapons){
if(!weapon.name.isEmpty()){
if(!weapon.name.isEmpty() && (minfo.mod == null || weapon.name.startsWith(minfo.mod.name))){
//TODO makeNew isn't really necessary here is it
makeOutline(PageType.main, packer, weapon.region, separateOutline, outlineColor, outlineRadius);
}