Skip to content
Snippets Groups Projects
Commit b5ceaf44 authored by Ciaran Gultnieks's avatar Ciaran Gultnieks
Browse files

Don't say 'Creating server and client' if the server is remote, so not being created

parent e09fec33
No related branches found
No related tags found
No related merge requests found
......@@ -672,7 +672,6 @@ void the_game(
guienv->drawAll();
driver->endScene();
std::cout<<DTIME<<"Creating server and client"<<std::endl;
/*
Create server.
......@@ -680,6 +679,7 @@ void the_game(
*/
SharedPtr<Server> server;
if(address == ""){
std::cout<<DTIME<<"Creating server"<<std::endl;
server = new Server(map_dir);
server->start(port);
}
......@@ -688,6 +688,7 @@ void the_game(
Create client
*/
std::cout<<DTIME<<"Creating client"<<std::endl;
Client client(device, playername.c_str(), draw_control);
Address connect_address(0,0,0,0, port);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment