diff rlgwebd.js @ 64:e3082fd06520

Some status improvements. Status messages now consistently use the game's uname, and the table of choices puts the games in the right order.
author John "Elwin" Edwards <elwin@sdf.org>
date Wed, 20 Jun 2012 08:49:10 -0700
parents 7793ad53b90f
children 57bf0dcd080e
line wrap: on
line diff
--- a/rlgwebd.js	Wed Jun 20 07:41:59 2012 -0700
+++ b/rlgwebd.js	Wed Jun 20 08:49:10 2012 -0700
@@ -806,7 +806,7 @@
     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" });