projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work on main hall
[vchess.git]
/
client
/
src
/
components
/
Game.vue
diff --git
a/client/src/components/Game.vue
b/client/src/components/Game.vue
index
3eb8f0c
..
2a74a07
100644
(file)
--- a/
client/src/components/Game.vue
+++ b/
client/src/components/Game.vue
@@
-178,8
+178,8
@@
export default {
this.endGame(this.mycolor=="w"?"1-0":"0-1");
break;
// TODO: also use (dis)connect info to count online players?
this.endGame(this.mycolor=="w"?"1-0":"0-1");
break;
// TODO: also use (dis)connect info to count online players?
- case "connect":
- case "disconnect":
+ case "
game
connect":
+ case "
game
disconnect":
if (this.mode=="human")
{
const online = (data.code == "connect");
if (this.mode=="human")
{
const online = (data.code == "connect");