diff --git a/game.html b/game.html
index f71c1c1..bd17866 100644
--- a/game.html
+++ b/game.html
@@ -235,6 +235,9 @@
Global DOMination
async function resetGame() {
document.getElementById("scoreboard").close();
+ if (viewer) {
+ viewer.remove();
+ }
if (scoreboardMap) {
scoreboardMap.remove();
scoreboardMap = null;