Add wait method to ziffers

This commit is contained in:
2023-08-26 18:43:39 +03:00
parent 0dcf723736
commit 97b3f89a20
5 changed files with 61 additions and 20 deletions

View File

@ -554,10 +554,7 @@ export class UserAPI {
player = new Player(input, options, this.app);
this.app.api.patternCache.set(key, player);
}
if ((player && player.notStarted()) || player.played) {
player.callTime = this.epulse();
player.played = false;
}
if(player) player.updateLastCallTime();
return player;
};