forked from public/foundryvtt-reve-de-dragon
Fix repos
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user