wrong thing, whoops
Fuark
This commit is contained in:
parent
a9cf21e066
commit
a0f3208686
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ class CollabVMClient {
|
||||||
if (currentTurnUsername === window.username) {
|
if (currentTurnUsername === window.username) {
|
||||||
turn = 0;
|
turn = 0;
|
||||||
turnstatus.innerText = "You have the turn.";
|
turnstatus.innerText = "You have the turn.";
|
||||||
vmview.class = "focused";
|
display.class = "focused";
|
||||||
}
|
}
|
||||||
// Highlight all waiting users and set their status
|
// Highlight all waiting users and set their status
|
||||||
if (queuedUsers > 1) {
|
if (queuedUsers > 1) {
|
||||||
|
@ -190,7 +190,7 @@ class CollabVMClient {
|
||||||
if (window.username === msgArr[i+3]) {
|
if (window.username === msgArr[i+3]) {
|
||||||
turn = i;
|
turn = i;
|
||||||
turnstatus.innerText = "Waiting for turn";
|
turnstatus.innerText = "Waiting for turn";
|
||||||
vmview.class="waiting";
|
display.class="waiting";
|
||||||
};
|
};
|
||||||
var user = users.find(u => u.username === msgArr[i+3]);
|
var user = users.find(u => u.username === msgArr[i+3]);
|
||||||
user.turn = i;
|
user.turn = i;
|
||||||
|
|
Loading…
Reference in a new issue