dont receive letters when game creator is not open

This commit is contained in:
blek 2023-09-21 12:44:16 +10:00
parent 7ae198bc9c
commit f32144a779
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@
}
document.onkeydown = e => {
if (game_creator) return updateState();
if (endgame) return updateState();
if (not_a_word) return updateState();