Gestion état sonné correct
This commit is contained in:
		@@ -1199,7 +1199,7 @@ export class RdDActor extends Actor {
 | 
				
			|||||||
  /* -------------------------------------------- */
 | 
					  /* -------------------------------------------- */
 | 
				
			||||||
  async verifierSonneRound(round) {
 | 
					  async verifierSonneRound(round) {
 | 
				
			||||||
    if (this.getSonne()) {
 | 
					    if (this.getSonne()) {
 | 
				
			||||||
      if (round >= this.getSonneRound() + 1) {
 | 
					      if (round > this.getSonneRound() + 1) {
 | 
				
			||||||
        await this.setSonne(false, -1); // Nettoyer l'état sonné
 | 
					        await this.setSonne(false, -1); // Nettoyer l'état sonné
 | 
				
			||||||
        ChatMessage.create({ content: `${this.name} n'est plus sonné ce round !` });
 | 
					        ChatMessage.create({ content: `${this.name} n'est plus sonné ce round !` });
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user