From 2b1a9151d70ce900d0645b7066bc38c434248386 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sat, 3 Apr 2021 08:18:08 +0200 Subject: [PATCH] =?UTF-8?q?Gestion=20=C3=A9tat=20sonn=C3=A9=20correct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index 0b9dd08c..6d55ad27 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1199,7 +1199,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 !` }); }