Fix spectator mouse
This commit is contained in:
@@ -240,7 +240,7 @@
|
|||||||
mouse = [x, y];
|
mouse = [x, y];
|
||||||
i = Math.floor((x / width) * 8);
|
i = Math.floor((x / width) * 8);
|
||||||
j = Math.floor((y / height) * 8);
|
j = Math.floor((y / height) * 8);
|
||||||
if (ready && state == -1) {
|
if (ready && state == -1 && UID !== undefined) {
|
||||||
canvas.style.cursor = 'default';
|
canvas.style.cursor = 'default';
|
||||||
if (board) {
|
if (board) {
|
||||||
if (color == 0) {
|
if (color == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user