diff --git a/frontend/src/scripts/game.ts b/frontend/src/scripts/game.ts index d4bc7b3..d2610a6 100644 --- a/frontend/src/scripts/game.ts +++ b/frontend/src/scripts/game.ts @@ -65,6 +65,7 @@ export class Game extends CommandReceiver { this.socket?.close(); this.gameObjects = new GameObjectContainer(this); this.overlay.innerHTML = ''; + this.lastAnnouncementText = ''; this.overlay.appendChild(this.progressBar); this.announcementText.innerText = ''; this.overlay.appendChild(this.announcementText);