Author: mir3x
Date: Sun Aug  7 17:58:34 2016
New Revision: 33495

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

See bug #24859


Modified:
    trunk/client/gui-qt/pages.cpp

Modified: trunk/client/gui-qt/pages.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/pages.cpp?rev=33495&r1=33494&r2=33495&view=diff
==============================================================================
--- trunk/client/gui-qt/pages.cpp       (original)
+++ trunk/client/gui-qt/pages.cpp       Sun Aug  7 17:58:34 2016
@@ -1016,6 +1016,7 @@
 {
   if (!is_server_running()){
     client_start_server();
+    send_chat("/detach");
   }
   send_chat_printf("/load %s", current_file.toLocal8Bit().data());
   switch_page(PAGE_START);
@@ -1028,6 +1029,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