Removed --client command line option (since this command needs a

server id to work).
This commit is contained in:
hiker
2015-11-05 07:54:58 +11:00
parent dc80fb1c11
commit bdf34edc00

View File

@@ -779,11 +779,6 @@ int handleCmdLine()
STKHost::create(core::stringw(s.c_str()));
Log::info("main", "Creating a server.");
}
else if(CommandLine::has("--client"))
{
STKHost::create();
Log::info("main", "Creating a client.");
}
if(CommandLine::has("--max-players", &n))
UserConfigParams::m_server_max_players=n;