summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index ad3375873..c0ef53e30 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -692,7 +692,7 @@ DEF_CONSOLE_CMD(ConNetworkConnect)
IConsolePrintF(CC_DEFAULT, " port: %s", port);
}
- NetworkClientConnectGame(ip, rport);
+ NetworkClientConnectGame(NetworkAddress(ip, rport));
return true;
}