Skip to content

Commit

Permalink
fixed assertion failure in synced_context.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Oct 6, 2015
1 parent 8a7f715 commit 0cc3c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/synced_user_choice.cpp
Expand Up @@ -243,7 +243,7 @@ user_choice_manager::user_choice_manager(const std::string &name, const mp_sync:
assert(1 <= side && side <= max_side);
const team& t = (*resources::teams)[side-1];
assert(!t.is_empty());
if(!t.is_local())
if(side != current_side_)
{
synced_context::set_is_simultaneously();
}
Expand Down

0 comments on commit 0cc3c81

Please sign in to comment.