From 6613d997cc35774c095c7adce34a251d5a522f09 Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 23 Jul 2024 13:14:56 +0100 Subject: [PATCH] Removed redundant rating check now it has been moved to `ProfileFixerService` --- project/src/controllers/GameController.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/project/src/controllers/GameController.ts b/project/src/controllers/GameController.ts index 89b37a1b..aad79fe5 100644 --- a/project/src/controllers/GameController.ts +++ b/project/src/controllers/GameController.ts @@ -152,15 +152,6 @@ export class GameController return; } - if (fullProfile.characters.pmc.RagfairInfo) - { - if (Number.isNaN(fullProfile.characters.pmc.RagfairInfo.rating)) - { - this.logger.warning(`Profile: ${sessionID} ragfair rating was not a valid number, resetting to 0`); - fullProfile.characters.pmc.RagfairInfo.rating = 0; - } - } - const pmcProfile = fullProfile.characters.pmc; this.logger.debug(`Started game with sessionId: ${sessionID} ${pmcProfile.Info?.Nickname}`);