forked from 0ad/0ad
This was SVN commit r15762.
This commit is contained in:
parent
c56407a1f8
commit
aa5fded9ae
@ -1431,7 +1431,7 @@ bool Autostart(const CmdLineArgs& args)
|
||||
g_NetClient->SetUserName(userName);
|
||||
|
||||
CStr ip = args.Get("autostart-client");
|
||||
if (ip == "")
|
||||
if (ip.empty())
|
||||
ip = "127.0.0.1";
|
||||
|
||||
bool ok = g_NetClient->SetupConnection(ip);
|
||||
|
Loading…
Reference in New Issue
Block a user