diff --git a/assets/game.html b/assets/game.html index 37d57ad..cca8509 100644 --- a/assets/game.html +++ b/assets/game.html @@ -28,7 +28,7 @@ Sorry, this game is not yet available for play. -
+

You must be 18+ to play Blastmud

This game is restricted to adults (18 years or above). It contains violence, diff --git a/src/index.ts b/src/index.ts index ecf6b7e..b2a374f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -56,7 +56,7 @@ function connectTerm() { } function over18() { - document.getElementById("over18").style.display = 'none'; + document.getElementById("overlay_over18").style.display = 'none'; isScreened = true; window.localStorage['over18'] = true; term.focus();