Fix showing win text

This commit is contained in:
schmelczerandras 2020-10-26 16:09:16 +01:00
parent 271d4ba171
commit 3dd3e21bb8

View file

@ -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);