mirror of
https://framagit.org/JonathanMM/sutom.git
synced 2024-05-02 22:13:21 +02:00
Meilleure gestion de la mise
This commit is contained in:
parent
830b60ae30
commit
34040cb6d3
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -7,4 +7,4 @@ public/mots/**
|
||||||
node_modules/
|
node_modules/
|
||||||
ts/mots/listeMotsATrouver.ts
|
ts/mots/listeMotsATrouver.ts
|
||||||
ts/mots/listeMotsProposables.*
|
ts/mots/listeMotsProposables.*
|
||||||
cron.prod.sh
|
cron.*.sh
|
||||||
|
|
|
@ -44,7 +44,7 @@ export default class Gestionnaire {
|
||||||
|
|
||||||
this._idPartieEnCours = this.getIdPartie(partieEnCours);
|
this._idPartieEnCours = this.getIdPartie(partieEnCours);
|
||||||
|
|
||||||
if (this._idPartieEnCours !== partieEnCours.idPartie) {
|
if (this._idPartieEnCours !== partieEnCours.idPartie && partieEnCours.idPartie !== undefined) {
|
||||||
partieEnCours = new PartieEnCours();
|
partieEnCours = new PartieEnCours();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue