Some status improvements.
Status messages now consistently use the game's uname, and the table of choices puts the games in the right order.
This commit is contained in:
parent
4c27e44ef8
commit
f711cdb591
2 changed files with 10 additions and 4 deletions
|
|
@ -806,7 +806,7 @@ function statusmsg(req, res) {
|
|||
var gamedesc = {};
|
||||
gamedesc["n"] = sessid;
|
||||
gamedesc["p"] = sessions[sessid].pname;
|
||||
gamedesc["g"] = sessions[sessid].game.name;
|
||||
gamedesc["g"] = sessions[sessid].game.uname;
|
||||
reply["g"].push(gamedesc);
|
||||
}
|
||||
res.writeHead(200, { "Content-Type": "application/json" });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue