Fix repos

This commit is contained in:
2022-12-23 23:18:40 +01:00
parent 4f80c719c2
commit d6f8698189
3 changed files with 4 additions and 3 deletions

View File

@ -32,6 +32,7 @@ export class DialogRepos extends Dialog {
const selection = await this.html.find("[name='repos']:checked").val();
const nbHeures = Number.parseInt(await this.html.find("[name='nb-heures']").val());
const nbJours = Number.parseInt(await this.html.find("[name='nb-jours']").val());
console.log("ACTOR", this.actor)
switch (selection) {
case "sieste": {
await this.actor.dormir(nbHeures);