mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-28 21:52:36 +00:00
Comment out error-producing code that tried to render player names in slots.
This was SVN commit r6227.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user