removed lag

This commit is contained in:
Mees Roelofsz
2023-11-30 22:29:35 +01:00
parent 77272afdc9
commit 6882528baf

View File

@@ -238,7 +238,9 @@ function spawnRandomBullet(){
for (let i = 0; i < 86; i++) {
bullets.push(new bullet(0, 100, radius, shotSpeed, shotPosX, shotPosY, hasMoved, angle));
angle -= 360 / 3;
bulletsspliced = bullets.splice(i);
}
}
}