From 8161197f0e9ca6ded7d6192f2996aeb9a4f4b2cb Mon Sep 17 00:00:00 2001 From: Matei Date: Mon, 14 Jul 2008 06:29:57 +0000 Subject: [PATCH] Comment out error-producing code that tried to render player names in slots. This was SVN commit r6227. --- .../official/gui/test/functions_page_pregame_multiplayer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/binaries/data/mods/official/gui/test/functions_page_pregame_multiplayer.js b/binaries/data/mods/official/gui/test/functions_page_pregame_multiplayer.js index 0ad13cbd1c..4d561fc177 100644 --- a/binaries/data/mods/official/gui/test/functions_page_pregame_multiplayer.js +++ b/binaries/data/mods/official/gui/test/functions_page_pregame_multiplayer.js @@ -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)