From 118c80af275ef7eb976ba93dea05f3eb9d055eba Mon Sep 17 00:00:00 2001 From: William Blythe Date: Thu, 3 May 2018 10:54:55 +1000 Subject: [PATCH] Fix kinetic and thermal res swapped Closes #265 --- src/app/components/ShipSummaryTable.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/ShipSummaryTable.jsx b/src/app/components/ShipSummaryTable.jsx index 28a9ebeb..eaff13c1 100644 --- a/src/app/components/ShipSummaryTable.jsx +++ b/src/app/components/ShipSummaryTable.jsx @@ -132,10 +132,10 @@ export default class ShipSummaryTable extends TranslatedComponent { - + {int(ship.shieldExplRes * 100) + '%'} - {int(ship.shieldThermRes * 100) + '%'} {int(ship.shieldKinRes * 100) + '%'} + {int(ship.shieldThermRes * 100) + '%'} {int(sgMetrics && sgMetrics.generator ? sgMetrics.total / sgMetrics.absolute.total : 0)} {int(sgMetrics && sgMetrics.generator ? sgMetrics.total / sgMetrics.explosive.total : 0)} {int(sgMetrics && sgMetrics.generator ? sgMetrics.total / sgMetrics.kinetic.total : 0 )} @@ -163,8 +163,8 @@ export default class ShipSummaryTable extends TranslatedComponent { {int(ship.hullExplRes * 100) + '%'} - {int(ship.hullThermRes * 100) + '%'} {int(ship.hullKinRes * 100) + '%'} + {int(ship.hullThermRes * 100) + '%'} {int(armourMetrics.total / armourMetrics.absolute.total)} {int(armourMetrics.total / armourMetrics.explosive.total)} {int(armourMetrics.total / armourMetrics.kinetic.total)}