adjust void speed

This commit is contained in:
HF 2022-08-12 18:46:36 +02:00
parent a9fcd04eef
commit cccb49df43

View File

@ -45,7 +45,8 @@ class Void {
const area = TARGET_RADIUS ** 2 * Math.PI;
const online = socketEvents.onlineCounter.total || 0;
// adjusted from 1.8 to 2.0 on 2022.04.26
const requiredSpeed = Math.floor(online / 2.0);
// adjusted back to 1.8 on 2022.08.12
const requiredSpeed = Math.floor(online / 1.8);
const ppm = Math.ceil(area / targetDuration + requiredSpeed);
this.msTimeout = 60 * 1000 / ppm;
this.area = new Uint8Array(TILE_SIZE * 3 * TILE_SIZE * 3);