fixed assertion failure in synced_context.cpp

This commit is contained in:
gfgtdf 2015-10-06 21:34:13 +02:00
parent 8a7f71578d
commit 0cc3c81259

View file

@ -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();
}