Skip to content

Commit 3552b10

Browse files
Update BossManager.ts
1 parent e975b58 commit 3552b10

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Misc/BossManager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ export default class BossManager {
7474
}
7575

7676
public tick(tick: number) {
77-
if (this.arena.game.tick >= 1 && (this.arena.game.tick % bossSpawningInterval) === 0 && !this.boss) {
77+
if (tick >= 1 && (tick % bossSpawningInterval) === 0 && !this.boss) {
7878
this.spawnBoss();
7979
}
8080
}
8181

8282
}
83+

0 commit comments

Comments
 (0)