This commit is contained in:
2021-04-03 08:19:19 +02:00
parent 3f14d2b833
commit 65348b0710
2 changed files with 2 additions and 2 deletions

View File

@ -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 !` });
}