Skip to content

Commit

Permalink
Fix works for MMLs as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleet01 committed Aug 20, 2024
1 parent f5ccf0c commit 6c4f97a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,8 @@ private static boolean insertArtemisImperatives(Entity e, MunitionTree mt, Strin
if (artemis) {
for (AmmoMounted bin : e.getAmmo()) {
if (bin.getName().toUpperCase().contains(ammoClass)) {
mt.insertImperative(e.getFullChassis(), e.getModel(), "any", ammoClass,
String binType = bin.getType().getBaseName();
mt.insertImperative(e.getFullChassis(), e.getModel(), "any", binType,
"Artemis-capable");
}
}
Expand Down

0 comments on commit 6c4f97a

Please sign in to comment.