Skip to content

Commit

Permalink
Merge pull request #1027 from redbatz/master
Browse files Browse the repository at this point in the history
Added Coolant Pod to Other category check in EquipmentDatabaseCategory
  • Loading branch information
Windchild292 authored Feb 13, 2022
2 parents e7d7844 + ae6dafd commit e0f86cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/megameklab/com/ui/util/EquipmentDatabaseCategory.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public enum EquipmentDatabaseCategory {
&& !(eq.hasFlag(F_PARTIAL_WING) && en.hasETypeFlag(Entity.ETYPE_PROTOMECH))
&& !eq.hasFlag(F_SPONSON_TURRET)
&& !eq.hasFlag(F_PINTLE_TURRET))
|| (eq instanceof TAGWeapon)),
|| (eq instanceof TAGWeapon)
|| ((eq instanceof AmmoType) && (((AmmoType) eq).getAmmoType() == AmmoType.T_COOLANT_POD))),

AP ("Anti-Personnel",
(eq, en) -> UnitUtil.isBattleArmorAPWeapon(eq),
Expand Down

0 comments on commit e0f86cd

Please sign in to comment.