From 8492dd74f9b42732a11022ccf12fd60bb9cbe3cf Mon Sep 17 00:00:00 2001 From: Felix Linker Date: Sat, 8 Sep 2018 21:06:47 +0200 Subject: [PATCH] falloff and range are formated rounded to two decimal places --- src/app/shipyard/StatsFormating.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/shipyard/StatsFormating.js b/src/app/shipyard/StatsFormating.js index 8b088d8a..c494e879 100644 --- a/src/app/shipyard/StatsFormating.js +++ b/src/app/shipyard/StatsFormating.js @@ -41,8 +41,8 @@ export const STATS_FORMATING = { 'eps': { 'format': 'round', 'units': 'ps', 'synthetic': 'getEps' }, 'explres': { 'format': 'pct' }, 'facinglimit': { 'format': 'round1', 'unit': 'ang' }, - 'falloff': { 'format': 'round1', 'unit': 'km', 'storedUnit': 'm' }, - 'fallofffromrange': { 'format': 'round1', 'unit': 'km', 'storedUnit': 'm', 'synthetic': 'getFalloff' }, + 'falloff': { 'format': 'round', 'unit': 'km', 'storedUnit': 'm' }, + 'fallofffromrange': { 'format': 'round', 'unit': 'km', 'storedUnit': 'm', 'synthetic': 'getFalloff' }, 'hps': { 'format': 'round', 'units': 'ps', 'synthetic': 'getHps' }, 'hullboost': { 'format': 'pct1' }, 'hullreinforcement': { 'format': 'int' }, @@ -57,7 +57,7 @@ export const STATS_FORMATING = { 'piercing': { 'format': 'int' }, 'power': { 'format': 'round', 'unit': 'MW' }, 'protection': { 'format': 'pct' }, - 'range': { 'format': 'round1', 'unit': 'km', 'storedUnit': 'm' }, + 'range': { 'format': 'round', 'unit': 'km', 'storedUnit': 'm' }, 'ranget': { 'format': 'round1', 'unit': 's' }, 'regen': { 'format': 'round1', 'unit': 'ps' }, 'reload': { 'format': 'int', 'unit': 's' },