Add some logging for invalid zifferjs syntax

This commit is contained in:
2023-12-12 02:36:40 +02:00
parent c93eac267a
commit 7ae2c03ba1
2 changed files with 41 additions and 19 deletions

View File

@ -49,6 +49,10 @@ export class Player extends AbstractEvent {
this.zid = zid;
}
isValid() {
return this.ziffers.values.length > 0;
}
reset() {
this.initCallTime = 0;
this.startCallTime = 0;