mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
Corrected incorrect modulo condition in isEndlessBoss
This commit is contained in:
parent
8c77f35872
commit
7e1f2601d0
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user