File diff r10498:bb2b452f76fe → r10499:570896340d7a
src/network/network_client.cpp
Show inline comments
 
@@ -617,13 +617,13 @@ DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER
 

	
 
			if (_network_playas != COMPANY_SPECTATOR) {
 
				/* We have arrived and ready to start playing; send a command to make a new company;
 
				 * the server will give us a client-id and let us in */
 
				_network_join_status = NETWORK_JOIN_STATUS_REGISTERING;
 
				ShowJoinStatusWindow();
 
				NetworkSend_Command(0, 0, 0, CMD_COMPANY_CTRL, NULL);
 
				NetworkSend_Command(0, 0, 0, CMD_COMPANY_CTRL, NULL, NULL);
 
			}
 
		} else {
 
			// take control over an existing company
 
			SetLocalCompany(_network_playas);
 
		}
 
	}