Comment out error-producing code that tried to render player names in slots.

This was SVN commit r6227.
This commit is contained in:
Matei
2008-07-14 06:29:57 +00:00
parent 4027a8f11b
commit 8161197f0e
@@ -45,7 +45,7 @@ function initMPHost (parentWindow, gameName, welcomeMessage, profileName)
playerSlot.assignToSession (event.session);
console.write (event.id);
// Set player slot to new player's name.
pushItem ("pgSessionSetupP" + (event.id), event.name);
//pushItem ("pgSessionSetupP" + (event.id), event.name);
}
server.onClientDisconnect = function (event)
@@ -78,8 +78,8 @@ function initMPClient (mpParentWindow, ipAddress, profileName)
{
// Set player slot to new player's name.
console.write("onClientConnect: name is " + event.name + ", id is " + event.id);
if( event.id != 1 )
pushItem ("pgSessionSetupP" + (event.id), event.name);
//if( event.id != 1 )
// pushItem ("pgSessionSetupP" + (event.id), event.name);
}
client.onConnectComplete = function (event)