From: <geo...@us...> - 2014-04-08 22:31:19
|
Revision: 7027 http://sourceforge.net/p/freeorion/code/7027 Author: geoffthemedio Date: 2014-04-08 22:31:15 +0000 (Tue, 08 Apr 2014) Log Message: ----------- Added a reset of the auto-turn end state variable in MapWnd so that resigning a game while in auto-end-turn mode then starting a new game doesn't immediately start ending turns automatically. Modified Paths: -------------- trunk/FreeOrion/UI/MapWnd.cpp Modified: trunk/FreeOrion/UI/MapWnd.cpp =================================================================== --- trunk/FreeOrion/UI/MapWnd.cpp 2014-04-08 22:29:59 UTC (rev 7026) +++ trunk/FreeOrion/UI/MapWnd.cpp 2014-04-08 22:31:15 UTC (rev 7027) @@ -4389,6 +4389,8 @@ m_scale_line->Hide(); m_zoom_slider->Hide(); m_sitrep_panel->ShowSitRepsForTurn(INVALID_GAME_TURN); + if (m_auto_end_turn) + ToggleAutoEndTurn(); } void MapWnd::Sanitize() { |