diff --git a/game.html b/game.html
index 4043513..90f3060 100644
--- a/game.html
+++ b/game.html
@@ -240,7 +240,7 @@
mouse = [x, y];
i = Math.floor((x / width) * 8);
j = Math.floor((y / height) * 8);
- if (ready && state == -1) {
+ if (ready && state == -1 && UID !== undefined) {
canvas.style.cursor = 'default';
if (board) {
if (color == 0) {