From fb325ea3e238afbacce4776537fd64c8364f8b1a Mon Sep 17 00:00:00 2001 From: Benjamin Schubert Date: Wed, 1 Nov 2017 15:56:51 -0400 Subject: [PATCH] Add commas to slot cost --- src/app/utils/SlotFunctions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/utils/SlotFunctions.js b/src/app/utils/SlotFunctions.js index c2f5f4ba..566df62b 100644 --- a/src/app/utils/SlotFunctions.js +++ b/src/app/utils/SlotFunctions.js @@ -220,7 +220,7 @@ export function diffDetails(language, m, mm) { let mCost = m.cost || 0; let mmCost = mm ? mm.cost : 0; - if (mCost != mmCost) propDiffs.push(
{translate('cost')}: {mCost ? Math.round(mCost * (1 - Persist.getModuleDiscount())) : 0}{units.CR}
); + if (mCost != mmCost) propDiffs.push(
{translate('cost')}: {formats.int(mCost ? Math.round(mCost * (1 - Persist.getModuleDiscount())) : 0)}{units.CR}
); let mMass = m.mass || 0; let mmMass = mm ? mm.getMass() : 0;