From 65348b0710611c6c51f100cd68e598cdac3cfb0a Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sat, 3 Apr 2021 08:19:19 +0200 Subject: [PATCH] #180 - Fix --- module/actor.js | 2 +- module/item-sheet.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/actor.js b/module/actor.js index 6822a9d6..05a0fb5a 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1198,7 +1198,7 @@ export class RdDActor extends Actor { /* -------------------------------------------- */ async verifierSonneRound(round) { if (this.getSonne()) { - if (round >= this.getSonneRound() + 1) { + if (round > this.getSonneRound() + 1) { await this.setSonne(false, -1); // Nettoyer l'état sonné ChatMessage.create({ content: `${this.name} n'est plus sonné ce round !` }); } diff --git a/module/item-sheet.js b/module/item-sheet.js index 229df96a..c2eb80b0 100644 --- a/module/item-sheet.js +++ b/module/item-sheet.js @@ -143,7 +143,7 @@ export class RdDItemSheet extends ItemSheet { /** @override */ _updateObject(event, formData) { // Deprecated en v0.8 à clarifier - console.log("UPDATE !", formData); + //console.log("UPDATE !", formData); // Données de bonus de cases ? formData = RdDItemSort.buildBonusCaseStringFromFormData( formData );