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:
parent
67777bd159
commit
81bdf6e1c4
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user