diff --git a/back/src/Model/GameRoom.ts b/back/src/Model/GameRoom.ts index 546214b3..25f7e542 100644 --- a/back/src/Model/GameRoom.ts +++ b/back/src/Model/GameRoom.ts @@ -485,9 +485,9 @@ export class GameRoom { private getVariableManager(): Promise { if (!this.variableManagerPromise) { + this.variableManagerLastLoad = new Date(); this.variableManagerPromise = this.getMap() .then((map) => { - this.variableManagerLastLoad = new Date(); const variablesManager = new VariablesManager(this.roomUrl, map); return variablesManager.init(); })