From 3dd3e21bb8f41cbd58188416b8fc8a13fcfc992f Mon Sep 17 00:00:00 2001 From: schmelczerandras Date: Mon, 26 Oct 2020 16:09:16 +0100 Subject: [PATCH] Fix showing win text --- frontend/src/scripts/game.ts | 1 + 1 file changed, 1 insertion(+) 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);