Fix UI turn display

This commit is contained in:
0880
2026-01-21 02:08:12 +03:30
parent 78ed9e1daf
commit e0af5c2d33

View File

@@ -210,7 +210,7 @@
if (UID === undefined || turn != color) { if (UID === undefined || turn != color) {
if (turn == 0) { if (turn == 0) {
document.getElementById('turn').innerText = "White's Turn"; document.getElementById('turn').innerText = "White's Turn";
} else if (turn == 0) { } else if (turn == 1) {
document.getElementById('turn').innerText = "Black's Turn"; document.getElementById('turn').innerText = "Black's Turn";
} }
} else if (turn == color) { } else if (turn == color) {