Fix typos

This commit is contained in:
Vincent Vandemeulebrouck
2021-02-26 00:59:12 +01:00
parent 184f8a30d2
commit 28fde31a54
2 changed files with 2 additions and 2 deletions

View File

@ -481,7 +481,7 @@ export class RdDActor extends Actor {
async dormir(heures = 1) {
let message = {
whisper: ChatUtility.getWhisperRecipientsAndGMs(this.name),
content: this.name + ": Vous dormez " + heures + (heures > 1 ? " heures. " : "heure. ")
content: `${this.name}: Vous dormez ${heures == 1 ? 'une': heures} heure${heures == 1 ? '': 's'}.`
};
await this.recupereEndurance(message);
for (let i = 0; i < heures; i++) {