From 7e1f2601d05b7fb39372d9a94c1cfaa58b929263 Mon Sep 17 00:00:00 2001 From: frutescens Date: Wed, 13 Nov 2024 15:24:25 -0800 Subject: [PATCH] Corrected incorrect modulo condition in isEndlessBoss --- src/game-mode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game-mode.ts b/src/game-mode.ts index 8f1bb9356e6..0f997bf651e 100644 --- a/src/game-mode.ts +++ b/src/game-mode.ts @@ -236,7 +236,7 @@ export class GameMode implements GameModeConfig { * @returns true if waveIndex is a multiple of 50 in Endless */ isEndlessBoss(waveIndex: integer): boolean { - return !!(waveIndex % 50) && + return waveIndex % 50 === 0 && (this.modeId === GameModes.ENDLESS || this.modeId === GameModes.SPLICED_ENDLESS); }