basic penalty backend implemented

This commit is contained in:
2024-04-18 21:47:19 +00:00
parent f384878964
commit 069b69567b
6 changed files with 99 additions and 14 deletions

View File

@@ -154,6 +154,7 @@ export class ZoneManager {
this.nextZoneTimeoutId = setTimeout(() => this.startShrinking(), 1000 * 60 * this.zoneSettings.reductionInterval)
this.currentZoneCount++;
}
this.onZoneUpdate(JSON.parse(JSON.stringify(this.currentStartZone)))
this.onNextZoneUpdate({
begin: JSON.parse(JSON.stringify(this.currentStartZone)),
end: JSON.parse(JSON.stringify(this.nextZone))