Corrected incorrect modulo condition in isEndlessBoss

This commit is contained in:
frutescens 2024-11-13 15:24:25 -08:00
parent 8c77f35872
commit 7e1f2601d0
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}