Author: mir3x
Date: Sun Aug  7 17:58:03 2016
New Revision: 33493

URL: http://svn.gna.org/viewcvs/freeciv?rev=33493&view=rev
Log:
Qt client - detach player before loading savegame/scenario
Reported by Jacob Nevins <jtn>

See bug #24859


Modified:
    branches/S2_5/client/gui-qt/pages.cpp

Modified: branches/S2_5/client/gui-qt/pages.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/pages.cpp?rev=33493&r1=33492&r2=33493&view=diff
==============================================================================
--- branches/S2_5/client/gui-qt/pages.cpp       (original)
+++ branches/S2_5/client/gui-qt/pages.cpp       Sun Aug  7 17:58:03 2016
@@ -955,6 +955,7 @@
 {
   if (!is_server_running()){
     client_start_server();
+    send_chat("/detach");
   }
   send_chat_printf("/load %s", current_file.toLocal8Bit().data());
   switch_page(PAGE_START);
@@ -967,6 +968,7 @@
 {
   if (!is_server_running()){
     client_start_server();
+    send_chat("/detach");
   }
   send_chat_printf("/load %s", current_file.toLocal8Bit().data());
   switch_page(PAGE_START);


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to