Skip to content

Commit

Permalink
dont do init_side during start event
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Mar 1, 2015
1 parent af06820 commit 56d6e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/play_controller.cpp
Expand Up @@ -362,7 +362,7 @@ void play_controller::maybe_do_init_side()
* For all other sides it is recorded in replay and replay handler has to handle
* calling do_init_side() functions.
**/
if (init_side_done_ || !current_team().is_local()) {
if (init_side_done_ || !current_team().is_local() || gamestate_.gamedata_.phase() != game_data::PLAY) {
return;
}

Expand Down

0 comments on commit 56d6e12

Please sign in to comment.