From dffa6304c0ed9fab7825bb7b9e34aea9b2e052eb Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 12 Jun 2022 18:07:43 +0100 Subject: [PATCH] fix: only ever render god for popn --- bot/src/webhookHandlers/classUpdate.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot/src/webhookHandlers/classUpdate.ts b/bot/src/webhookHandlers/classUpdate.ts index aa78b5367..0701b9581 100644 --- a/bot/src/webhookHandlers/classUpdate.ts +++ b/bot/src/webhookHandlers/classUpdate.ts @@ -96,7 +96,7 @@ function ShouldRenderUpdate( return [ // All of the other classes in pop'n can be trivially blitzed through. POPN_CLASSES.GOD, - ]; + ].includes(classValue); } return true; @@ -117,6 +117,8 @@ function GetMinimumScores(game: Game, playtype: Playtype, classSet: AllClassSets return 20; } else if (game === "iidx") { return 20; + } else if (game === "pms") { + return 20; } return null;