Skip to content

Commit

Permalink
DBビュワーに表示される武器の搭載数がおかしい場合があるのを修正 (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocelot1210 authored Apr 2, 2023
1 parent a0af145 commit 4f2f1f2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ public ShipsGridItem(IShip ship)

// 武装
{
Weapons = ship.Equipments.Values.Count(x => x.EquipmentType.EquipmentTypeID == "weapons");
Turrets = ship.Equipments.Values.Count(x => x.EquipmentType.EquipmentTypeID == "turrets");
Weapons = ship.Equipments.Values.Count(x => x.Tags.Contains("weapon"));
Turrets = ship.Equipments.Values.Count(x => x.Tags.Contains("turret"));
}


Expand Down

0 comments on commit 4f2f1f2

Please sign in to comment.