Removed redundant rating check now it has been moved to ProfileFixerService

This commit is contained in:
Dev 2024-07-23 13:14:56 +01:00
parent 6d1bde60ca
commit 951655e846

View File

@ -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;
}
}
if (Array.isArray(fullProfile.characters.pmc.WishList))
{
fullProfile.characters.pmc.WishList = {};