<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40465 >
A second idea for dealing with autotoggle: have the client send autotoggle=0 after the take command when the game is loaded. This would then avoid the situation where a player loads a game, chooses an AI player, and then wonders why nothing happens when they press turn done. By turning autotoggle off immediately afterwards, it also avoids the situations where autotoggle sets wrong players to AI mode under exceptional circumstances (the original issue raised in this ticket). ---------------------------------------------------------------------- 「大きなお世話だ」と怒鳴って、岩穴の中に消えた。
diff --git a/client/connectdlg_common.c b/client/connectdlg_common.c index 9f0998c..9cd1bd1 100644 --- a/client/connectdlg_common.c +++ b/client/connectdlg_common.c @@ -490,6 +490,7 @@ void send_start_saved_game(void) my_snprintf(buf, sizeof(buf), "/take \"%s\" \"%s\"", user_name, leader_name); send_chat(buf); + send_chat("/set autotoggle 0"); send_chat("/start"); }
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev