Fixed #7020
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user