From fd44e0888529d985bab7e52d0395738dfcde6ffe Mon Sep 17 00:00:00 2001 From: zkldi Date: Wed, 18 May 2022 20:39:24 +0100 Subject: [PATCH] fix: dont popn class update if user has less than 20 scores --- bot/src/webhookHandlers/classUpdate.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/src/webhookHandlers/classUpdate.ts b/bot/src/webhookHandlers/classUpdate.ts index beeb9d350..0434744cb 100644 --- a/bot/src/webhookHandlers/classUpdate.ts +++ b/bot/src/webhookHandlers/classUpdate.ts @@ -112,6 +112,8 @@ function GetMinimumScores(game: Game, playtype: Playtype, classSet: AllClassSets return 20; } else if (game === "iidx") { return 20; + } else if (game === "popn") { + return 20; } return null;