Fix #7820 "Enable planning mode on start" Setting
previously the code that tried to activate the whiteboard failed because it checks `can_modify_game_state` which checks for `!synced_context::is_unsynced`
This commit is contained in:
parent
6d4066aa52
commit
8083da0d73
1 changed files with 2 additions and 0 deletions
|
@ -456,6 +456,7 @@ void play_controller::maybe_do_init_side()
|
|||
|
||||
void play_controller::do_init_side()
|
||||
{
|
||||
{
|
||||
set_scontext_synced sync;
|
||||
log_scope("player turn");
|
||||
// In case we might end up calling sync:network during the side turn events,
|
||||
|
@ -526,6 +527,7 @@ void play_controller::do_init_side()
|
|||
check_victory();
|
||||
sync.do_final_checkup();
|
||||
gamestate().gamedata_.set_phase(game_data::TURN_PLAYING);
|
||||
}
|
||||
|
||||
init_side_end();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue