diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index a135a5cc..64208502 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -1241,7 +1241,7 @@ ${escapedMessage} * @param delta The delta time in ms since the last frame. This is a smoothed and capped value based on the FPS rate. */ update(time: number, delta: number) : void { - this.dirty = false; + this.dirty = true; mediaManager.updateScene(); this.currentTick = time; if (this.CurrentPlayer.isMoving()) { diff --git a/front/tsconfig.json b/front/tsconfig.json index 1845ee40..0a9f4110 100644 --- a/front/tsconfig.json +++ b/front/tsconfig.json @@ -11,7 +11,7 @@ "allowJs": true, "esModuleInterop": true, - "importsNotUsedAsValues": "error", + "importsNotUsedAsValues": "preserve", "strict": true, /* Enable all strict type-checking options. */ "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */