1
0
forked from 0ad/0ad

Fixed the join dialog window. Establishing connection now works, but is currently not reported by anything but the console.

This was SVN commit r2494.
This commit is contained in:
Fire Giant 2005-07-20 02:56:32 +00:00
parent 67777bd159
commit 81bdf6e1c4

View File

@ -500,10 +500,11 @@
client.playerName=getGUIObjectByName("pregame_mp_modesel_playername").caption;
// we've got a fixed IP (bound to localhost) here for testing purposes
// success = client.beginConnect("127.0.0.1");
ipAddress = getGUIObjectByName("pregame_mp_join_serverip").caption;
success = client.beginConnect(ipAddress);
if (!success) {
// need proper message box code here later
console.write ("Failed to connect to server. Please check the network connection.");
console.write ("Failed to connect to server. Please check the network connection.");
}
else
{