<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39770 >
When you use the command /set timeout 60 while the game is running, the timeout change only the next turn. The problem is that game.info.seconds_to_phasedone doesn't change when game.info.timeout is changed. A callback like: /************************************************************************* Change timeout... *************************************************************************/ static bool timeout_callback(int new_timeout, const char **error_string) { error_string = NULL; game.info.seconds_to_phasedone += new_timeout - game.info.timeout; send_game_info(NULL); return TRUE; } is missing. But there is an other problem, votes for '/set' are still buggy (I made a ticket some months ago, rejected). This callback would be call when the vote will be checked. So, the timeout will change virtually. _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev