mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-20 23:37:27 +00:00
fixed assertion failure in synced_context.cpp
This commit is contained in:
parent
8a7f71578d
commit
0cc3c81259
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user