From 3633be0e82047f380cd7a3437c125ba67e009100 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Mon, 19 Dec 2022 00:02:32 +0000 Subject: [PATCH] fix: Format curator skill to 0dp --- common/src/config/config.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/common/src/config/config.ts b/common/src/config/config.ts index 069ab985a..8e425fe0b 100644 --- a/common/src/config/config.ts +++ b/common/src/config/config.ts @@ -987,9 +987,15 @@ const GAME_PT_CONFIGS: GamePTConfigs = { curatorSkill: "The average of your best 10 curator skills this session.", }, - scoreRatingAlgFormatters: {}, - profileRatingAlgFormatters: {}, - sessionRatingAlgFormatters: {}, + scoreRatingAlgFormatters: { + curatorSkill: (v) => v.toFixed(0), + }, + profileRatingAlgFormatters: { + curatorSkill: (v) => v.toFixed(0), + }, + sessionRatingAlgFormatters: { + curatorSkill: (v) => v.toFixed(0), + }, difficulties: ["Green", "Yellow", "Red"], shortDifficulties: { Green: "G", Yellow: "Y", Red: "R" },