Author: mir3x Date: Wed Jan 6 09:14:11 2016 New Revision: 31380 URL: http://svn.gna.org/viewcvs/freeciv?rev=31380&view=rev Log: Fixed "not ready" button in pregame page, not setting player status to unready.
See bug #24273 Modified: trunk/client/gui-qt/fc_client.cpp Modified: trunk/client/gui-qt/fc_client.cpp URL: http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/fc_client.cpp?rev=31380&r1=31379&r2=31380&view=diff ============================================================================== --- trunk/client/gui-qt/fc_client.cpp (original) +++ trunk/client/gui-qt/fc_client.cpp Wed Jan 6 09:14:11 2016 @@ -486,7 +486,11 @@ ****************************************************************************/ void fc_client::slot_pregame_start() { - send_chat("/start"); + if (can_client_control()) { + dsend_packet_player_ready(&client.conn, + player_number(client_player()), + !client_player()->is_ready); + } } /**************************************************************************** _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits